Vulnerability · Published Nov 27, 2025 · Assigned by rami.io
CVE-2025-13742Limited HTML injection in emails
Low 2.4
In plain English
A low-severity security flaw in pretix from pretix. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | pretix | 2025.7.3 | GHSA-2mm6-624x-fqrr |
| PyPI | pretix | 2025.8.2 | GHSA-2mm6-624x-fqrr |
| PyPI | pretix | 2025.9.2 | GHSA-2mm6-624x-fqrr |
| PyPI | pretix | 2025.7.2 | PYSEC-2025-154 |
Affected products (as reported)
Weakness: CWE-116 · 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
References
- https://pretix.eu/about/en/blog/20251126-release-2025-9-1/ vendor-advisory