CVE-2025-13742: pretix Email Template Vulnerability Allows Phishing via HTML Injection

pretix Updated 20 May 2026

Summary

27/11/2025
Yes i
Low
6.1

CVE-2025-13742: Emails sent by pretix can utilize placeholders that will be filled with customer data. Affects pretix versions >= 1.0.0, < 2025.7.2. Fixed in 2025.7.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Pretix is an open-source ticketing solution that allows event organizers to manage ticket sales and attendee registrations. It provides features such as customizable email templates, which can include placeholders for customer data. However, this flexibility can lead to vulnerabilities if user input is not properly sanitized.

Vulnerability Detail

The vulnerability arises from the way pretix handles placeholders in email templates. When a placeholder, such as {name}, is used, it gets replaced with the attendee's name. If the name contains HTML or Markdown formatting, it is rendered as HTML in the email. This allows an attacker to inject maliciously formatted names, potentially leading to phishing attacks. Although pretix employs a strict allow list for HTML tags, the risk of manipulation remains, as user-provided content can appear trustworthy, misleading recipients.

How To Fix

Latest published version: 2026.8.0 as of 22 Oct 2026

pip install --upgrade "pretix==2026.8.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2025.7.2

This is the first release that contains the fix.

pip install --upgrade "pretix==2025.7.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using user-generated content in email templates or sanitize the input to remove any HTML or Markdown formatting before it is processed.

Conclusion

The CVE-2025-13742 vulnerability in the pretix package poses a risk of HTML injection through email templates, potentially leading to phishing attacks. Users are advised to update to the patched version to mitigate this risk and consider using Vulert for ongoing vulnerability monitoring.

See every vulnerability recorded for pretix →

Share this vulnerability

FAQ

CVE-2025-13742 is a vulnerability in the pretix package that allows for HTML injection through email templates, potentially facilitating phishing attacks.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which monitors open-source vulnerabilities in real-time.

The main risk is that attackers can manipulate email content to appear credible, leading to phishing attempts against users.

Yes, the vulnerability is fixed in pretix version 2025.7.2. It is recommended to update to this version or later.

Vulert is a tool that monitors open-source vulnerabilities in your software using just the Pipfile.lock. It provides real-time alerts for vulnerabilities without requiring code access or installation.

Related vulnerabilities

Recent vulnerabilities recorded for pretix.

How To Fix

Latest published version: 2026.8.0 as of 22 Oct 2026

pip install --upgrade "pretix==2026.8.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2025.7.2

This is the first release that contains the fix.

pip install --upgrade "pretix==2025.7.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback