Advisory

PYSEC-2025-154

Also known as: CVE-2025-13742, GHSA-2mm6-624x-fqrr

Summary

The record has no summary.

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

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2025-11-27 11:15 UTC
Modified
2026-06-10 17:01 UTC

Affected packages and fixes

pretix

PyPI · All systems

Affected

  • introduced 1.0.0, fixed 2025.7.2 (ecosystem)

Fixed versions

2025.7.2

Fix

  • Fixed version 2025.7.2
    pip install --upgrade pretix==2025.7.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences