# CVE-2025-13742: Limited HTML injection in emails

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.4
- **CVSS:** 2.4 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:L/SC:N/SI:L/SA:L/E:U`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: Low; Availability impact on other systems: Low; Exploit maturity: Unreported
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-116
- **Aliases:** GHSA-2mm6-624x-fqrr, PYSEC-2025-154
- **Published:** 2025-11-27T11:04:36.990Z
- **Modified:** 2026-10-19T13:10:00.110Z

## Who should check

- Projects that depend on PyPI package pretix (\>= 1.0.0, \< 2025.7.3)
- Anyone running pretix \>= 1.0.0, \< 2025.7.0; \>= 2025.7.0, \< 2025.8.0; \>= 2025.8.0, \< 2025.9.0; \>= 2025.9.0, \< 2025.10.0

## Description

Emails sent by pretix can utilize placeholders that will be filled with customer data. For example, when {name} is used in an email template, it will be replaced with the buyer's name for the final email. If the name of the attendee contained HTML or Markdown formatting, this was rendered as HTML in the resulting email. This way, a user could inject links or other formatted text through a maliciously formatted name. Since pretix applies a strict allow list approach to allowed HTML tags, this could not be abused for XSS or similarly dangerous attack chains. However, it can be used to manipulate emails in a way that makes user-provided content appear in a trustworthy and credible way, which can be abused for phishing.

## Affected and fixed versions

- PyPI `pretix`: affected \>= 1.0.0, \< 2025.7.3; fixed 2025.7.3, 2025.8.2, 2025.9.2, 2025.7.2 (osv)
- pretix: \>= 1.0.0, \< 2025.7.0; \>= 2025.7.0, \< 2025.8.0; \>= 2025.8.0, \< 2025.9.0; \>= 2025.9.0, \< 2025.10.0 (cvelist)

## Mitigation

- Upgrade pretix to one of 2025.7.3, 2025.8.2, 2025.9.2, 2025.7.2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-13742. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-13742.md
Affected: pretix >= 1.0.0, < 2025.7.3
Fixed in: 2025.7.3, 2025.8.2, 2025.9.2, 2025.7.2

Steps:
1. Search this machine and project for pretix (PyPI), pretix: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-13742 being exploited?

There is no confirmed exploitation: CVE-2025-13742 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-13742?

Low: CVSS 2.4 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-13742?

pretix \>= 1.0.0, \< 2025.7.3.

### Is there a fix for CVE-2025-13742?

Yes. Fixed in 2025.7.3, 2025.8.2, 2025.9.2, 2025.7.2. Upgrade pretix to one of 2025.7.3, 2025.8.2, 2025.9.2, 2025.7.2 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-13742?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://pretix.eu/about/en/blog/20251126-release-2025-9-1/>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-13742>
- vendor: <https://github.com/advisories/GHSA-2mm6-624x-fqrr>
- other: <https://github.com/pretix/pretix>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/pretix/PYSEC-2025-154.yaml>
- other: <https://pretix.eu/about/en/blog/20251126-release-2025-9-1>
- other: <https://pretix.eu/about/en/security>
- other: <https://web.archive.org/web/20251129201933/https://pretix.eu/about/en/blog/20251127-release-2025-9-2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-13742>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-2mm6-624x-fqrr> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2025-154> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-13742> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-13742>
