GitHub Advisoryadvisory · PyPI

GHSA-2mm6-624x-fqrr pretix has Email Content Injection Through Maliciously Formatted Names

LOW Published 2025-11-27 Modified 2026-06-09 Official page ↗
Aliases
CVE-2025-13742
Ecosystem
PyPI
Packages
pretix
Severity
Low
CVSS 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
Weaknesses
CWE-116
Reviewed
2026-06-09

Affected packages

• PyPI pretix: >= 1.0.0, < 2025.7.3 → fixed in 2025.7.3 • PyPI pretix: >= 2025.8.0, < 2025.8.2 → fixed in 2025.8.2 • PyPI pretix: >= 2025.9.0, < 2025.9.2 → 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.

Related

Alias · CVE (1)

  • CVE-2025-13742 Emails sent by pretix can utilize placeholders that will be filled with customer data. vulnerability

Weakness · CWE (1)

  • CWE-116 Improper Encoding or Escaping of Output weakness

References