CVE-2026-57532 Cross-site scripting in pretix

High 8.8 Published Updated

An attacker can inject JavaScript into the browser context of another backend user via malicious PDF layout specifications, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-57532?

CVE-2026-57532 is a high-severity cross-site scripting vulnerability in pretix, published on 25 Jun 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Malicious HTML content contained in the layout specification of a PDF ticket or badge layout was executed when the PDF editor is opened in the browser. This could allow one backend user to inject JavaScript into the browser context of another backend user. Due to requirements of the PDF rendering and editing libraries used, this is one of the few pages in our backend that do not have a strong Content-Security-Policy that would render this capability useless for most scenarios.

Weakness: CWE-80

Which versions are affected by CVE-2026-57532?

How do I fix CVE-2026-57532?

No fix has been published for CVE-2026-57532 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-57532 being exploited?

There is no known exploitation of CVE-2026-57532 in the wild and no public exploit code.

Sources

Also known as GHSA-4jgq-8mwg-w9q9.

Is CVE-2026-57532 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free