CVE-2025-13742: pretix has Email Content Injection Through Maliciously Formatted Names
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.
Published Nov 27, 2025 · Updated Jun 9, 2026
Affected packages
pretix
- Ecosystem
- PyPI
- Affected
- >= 1.0.0, < 2025.7.3
- Fixed in
- 2025.7.3
- Check
pip show pretix
pretix
- Ecosystem
- PyPI
- Affected
- >= 2025.8.0, < 2025.8.2
- Fixed in
- 2025.8.2
- Check
pip show pretix
pretix
- Ecosystem
- PyPI
- Affected
- >= 2025.9.0, < 2025.9.2
- Fixed in
- 2025.9.2
- Check
pip show pretix
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-13742
- https://pretix.eu/about/en/blog/20251126-release-2025-9-1
- https://github.com/pypa/advisory-database/tree/main/vulns/pretix/PYSEC-2025-154.yaml
- https://pretix.eu/about/en/security
- https://web.archive.org/web/20251129201933/https://pretix.eu/about/en/blog/20251127-release-2025-9-2
- https://github.com/advisories/GHSA-2mm6-624x-fqrr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-9712
pretix vulnerable to Authorization Bypass Through User-Controlled Key
low3.8May 27, 2026CVE-2026-5600
pretix: API leaks check-in data between events of the same organizer
medium5.5Apr 8, 2026CVE-2026-2415
pretix unsafely evaluates variables in emails
high5.9Feb 16, 2026CVE-2025-14881
pretix has Broken Access Control Allowing Cross-User File Access via UUID
low3.8Dec 19, 2025CVE-2025-14882
pretix has Broken Access Control Allowing Cross-User File Access via UUID
low3.8Dec 19, 2025CVE-2024-8113
pretix Stored Cross-site Scripting vulnerability
high7.2Aug 23, 2024
