# CVE-2024-8113: Stored XSS in Placeholder Samples in Mail Preview

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.2
- **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:Green`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.52% (percentile 38, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-45rp-q25w-4426, PYSEC-2024-180
- **Published:** 2024-08-23T14:18:05.416Z
- **Modified:** 2026-06-17T08:21:55.040Z

## Who should check

- Projects that depend on PyPI package pretix (\< 2024.7.1)
- Anyone running pretix \<= 2024.7.0

## 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

- PyPI `pretix`: affected \< 2024.7.1; fixed 2024.7.1 (osv)
- pretix: \<= 2024.7.0 (cvelist)

## Mitigation

- Upgrade pretix to 2024.7.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://pretix.eu/about/en/blog/20240823-release-2024-7-1/>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-8113>
- vendor: <https://github.com/advisories/GHSA-45rp-q25w-4426>
- patch: <https://github.com/pretix/pretix/commit/0f44a2ad4e170882dbe6b9d95dba6c36e4e181cf>
- other: <https://github.com/pretix/pretix>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/pretix/PYSEC-2024-180.yaml>
- other: <https://pretix.eu/about/en/blog/20240823-release-2024-7-1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-8113>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-45rp-q25w-4426> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2024-180> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-8113> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-8113>
