# CVE-2024-8113: pretix Stored Cross-site Scripting vulnerability

Source: https://junglewise.ai/threats/cve-2024-8113-pretix-stored-cross-site-scripting-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-23  
License: CC BY 4.0 with a link back

CVE-2024-8113 · Severity: medium · CVSS 4 · Published 2024-08-23

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.

Technologies: [pretix (PyPI)](https://junglewise.ai/threats/technologies/pypi-pretix). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-8113 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-8113 being exploited in the wild.

**How severe is CVE-2024-8113?** Medium severity, with a CVSS score of 4, published 23 August 2024.

**Which products and versions are affected?** pretix (PyPI) ECOSYSTEM:introduced=0,fixed=2024.7.1.

**Is there a fix for CVE-2024-8113?** Yes. pretix (PyPI): upgrade to 2024.7.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-8113?** Check whether you run pretix (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- pretix (PyPI): upgrade to 2024.7.1 or later

  ```sh
  pip install "pretix>=2024.7.1"
  ```


## Affected products

- pretix (PyPI) ECOSYSTEM:introduced=0,fixed=2024.7.1

## Identifiers

- CVE-2024-8113
- GHSA-45rp-q25w-4426
- PYSEC-2024-180

## Related threats

- [PYSEC-2026-1802 - pretix has Broken Access Control Allowing Cross-User File Access via UUID](https://junglewise.ai/threats/cve-2025-14882-pretix-has-broken-access-control-allowing-cross-user-file-access)
- [PYSEC-2026-1801 - pretix allows Pillow to parse EPS files](https://junglewise.ai/threats/cve-2023-44464-pretix-allows-pillow-to-parse-eps-files)
- [rami.io pretix authorization bypass in API export endpoint](https://junglewise.ai/threats/cve-2026-9712-rami-io-pretix-authorization-bypass-in-api-export-endpoint)
- [rami.io pretix data isolation breach in check-in API](https://junglewise.ai/threats/cve-2026-5600-rami-io-pretix-data-isolation-breach-in-check-in-api)
- [pretix unsafely evaluates variables in emails](https://junglewise.ai/threats/cve-2026-2415-pretix-unsafely-evaluates-variables-in-emails)
