Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pretix
  4. ›
  5. CVE-2025-13742

CVE-2025-13742: pretix has Email Content Injection Through Maliciously Formatted Names

November 27, 2025 (updated June 9, 2026)

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

  • github.com/advisories/GHSA-2mm6-624x-fqrr
  • github.com/pypa/advisory-database/tree/main/vulns/pretix/PYSEC-2025-154.yaml
  • nvd.nist.gov/vuln/detail/CVE-2025-13742
  • pretix.eu/about/en/blog/20251126-release-2025-9-1
  • pretix.eu/about/en/security
  • web.archive.org/web/20251129201933/https://pretix.eu/about/en/blog/20251127-release-2025-9-2

Code Behaviors & Features

Detect and mitigate CVE-2025-13742 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 2025.7.3, all versions starting from 2025.8.0 before 2025.8.2, all versions starting from 2025.9.0 before 2025.9.2

Fixed versions

  • 2025.7.3
  • 2025.8.2
  • 2025.9.2

Solution

Upgrade to versions 2025.7.3, 2025.8.2, 2025.9.2 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

pypi/pretix/CVE-2025-13742.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 24 Jun 2026 00:17:02 +0000.