CVE-2024-8113
Stored XSS in Placeholder Samples in Mail Preview
Also known as GHSA-45rp-q25w-4426, PYSEC-2024-180
Mitigation
- Upgrade pretix to 2024.7.1 or later.
Who should check
- Projects that depend on PyPI package pretix (< 2024.7.1)
- Anyone running pretix <= 2024.7.0
Vulnerability facts
- Affected
- pretix < 2024.7.1
- Fixed in
- 2024.7.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.2 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/R:U/RE:L/U:GreenOpen in CVSS calculator
Show all 14 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: Present
- Privileges required: High
- User interaction: Passive
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- R: U
- RE: L
- U: Green
- EPSS
- 0.52% chance of exploitation in 30 days (percentile 38, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Stored XSS in organizer and event settings of pretix up to 2024.7.0 allows malicious event organizers to inject HTML tags into e-mail previews on settings page. The default Content Security Policy of pretix prevents execution of attacker-provided scripts, making exploitation unlikely. However, combined with a CSP bypass (which is not currently known) the vulnerability could be used to impersonate other organizers or staff users.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-8113. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-8113.md Affected: pretix < 2024.7.1 Fixed in: 2024.7.1 Steps: 1. Search this machine and project for pretix (PyPI), pretix: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-8113 being exploited?
There is no confirmed exploitation: CVE-2024-8113 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-8113?
High: CVSS 7.2 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-8113?
pretix < 2024.7.1.
Is there a fix for CVE-2024-8113?
Yes. Fixed in 2024.7.1. Upgrade pretix to 2024.7.1 or later.
How do I check if I'm affected by CVE-2024-8113?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.