CVE-2025-13742: Pretix Pretix Has Email Content Injection Vulnerability
LOWCVE-2025-13742 is a LOW pretix has email content injection vulnerability (CWE-116: Improper Encoding or Escaping of Output) affecting Pretix libraries in the PyPI ecosystem. The issue involves pretix has email content injection through maliciously formatted names. Remediation is available by upgrading affected packages to version 2025.7.3, 2025.8.2, 2025.9.2.
CVE-2025-13742 at a Glance
How to Fix CVE-2025-13742
To remediate this vulnerability, upgrade all affected Pretix dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pretix>=2025.7.3
pip install pretix>=2025.8.2
pip install pretix>=2025.9.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pretix
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-13742, inspect your installed packages using pip:
pip show pretix
Analyze the terminal output to locate any version of Pretix in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2025.7.3), your application is affected.
Note: The pip show pretix command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-116: Improper Encoding or Escaping of Output, where the product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. as a result, the intended structure of the message is not preserved. In Pretix, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-13742 Affected Pretix Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pretix
|
PyPI |
≥ 1.0.0
< 2025.7.3
|
2025.7.3
|
|
pretix
|
PyPI |
≥ 2025.8.0
< 2025.8.2
|
2025.8.2
|
|
pretix
|
PyPI |
≥ 2025.9.0
< 2025.9.2
|
2025.9.2
|
References
Frequently Asked Questions
What is CVE-2025-13742?
Which Pretix versions are affected?
What version fixes CVE-2025-13742?
Is pretix affected?
What CWE is associated with CVE-2025-13742?
How can I check PyPI dependencies for CVE-2025-13742?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2mm6-624x-fqrr",
"modified" : "2026-06-09T16:12:34Z",
"published" : "2025-11-27T12:30:28Z",
"aliases" : [ "CVE-2025-13742" ],
"summary" : "pretix has Email Content Injection Through Maliciously Formatted Names",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pretix"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "2025.7.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "pretix"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2025.8.0"
}, {
"fixed" : "2025.8.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "pretix"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2025.9.0"
}, {
"fixed" : "2025.9.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13742"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pretix/pretix"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pretix/PYSEC-2025-154.yaml"
}, {
"type" : "WEB",
"url" : "https://pretix.eu/about/en/blog/20251126-release-2025-9-1"
}, {
"type" : "WEB",
"url" : "https://pretix.eu/about/en/security"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20251129201933/https://pretix.eu/about/en/blog/20251127-release-2025-9-2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-116" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-09T16:12:33Z",
"nvd_published_at" : "2025-11-27T11:15:47Z"
}
}