CVE-2025-13742
JSON

2.4low

Limited HTML injection in emails

Severity
2.4low CVSS:4.0 by rami.io
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
rami.io
Also known as
GHSA-2mm6-624x-fqrrPYSEC-2025-154

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

Product or packageVersionsReported by
pretixfrom 1.0.0 before 2025.7.0, from 2025.7.0 before 2025.8.0, from 2025.8.0 before 2025.9.0, from 2025.9.0 before 2025.10.0CVE List
pretix (PyPI)from 1.0.0 before 2025.7.3, from 2025.8.0 before 2025.8.2, from 2025.9.0 before 2025.9.2, from 1.0.0 before 2025.7.2GitHub Advisory Database, PyPA Advisory Database
pretix pretixfrom 1.0.0 before 2025.7.2, 2025.8.0, 2025.9.0NVD

All scores

rami.io2.4low CVSS:4.0CVSS: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
GitHublow CVSS:4.0CVSS: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
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
PyPA Advisory Database6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-116

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Los correos electrónicos enviados por pretix pueden utilizar marcadores de posición que se rellenarán con datos del cliente. Por ejemplo, cuando {name} se utiliza en una plantilla de correo electrónico, se reemplazará con el nombre del comprador para el correo electrónico final. Si el nombre del asistente contenía formato HTML o Markdown, esto se renderizaba como HTML en el correo electrónico resultante. De esta manera, un usuario podría inyectar enlaces u otro texto formateado a través de un nombre con formato malicioso. Dado que pretix aplica un enfoque estricto de lista blanca para las etiquetas HTML permitidas, esto no podía ser explotado para XSS o cadenas de ataque igualmente peligrosas. Sin embargo, puede utilizarse para manipular correos electrónicos de una manera que hace que el contenido proporcionado por el usuario aparezca de forma fiable y creíble, lo que puede ser explotado para phishing.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-13742 changed 2025-11-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-2mm6-624x-fqrr changed 2026-06-09CC-BY-4.0
NVDCVE-2025-13742 changed 2026-10-19Public domain
PyPA Advisory DatabasePYSEC-2025-154 changed 2026-06-10CC-BY-4.0