Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Authenticated backend user injects stored XSS (PR:L), victim must open the editor (UI:R), and execution in another user's browser context crosses a trust boundary (S:C) with high confidentiality/integrity but no direct availability impact.
Primary rating from Vendor (rami.io).
CVSS VectorVendor: rami.io
Lifecycle Timeline
3DescriptionCVE.org
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.
AnalysisAI
Stored cross-site scripting in Pretix's PDF ticket and badge layout editor allows one backend user to inject JavaScript that executes in another backend user's browser when they open the PDF editor. Affected is the open-source Pretix event-ticketing platform on versions prior to the 2026.5.2 release; the malicious HTML embedded in a layout specification runs because the PDF editor page is one of the few backend pages that lacks a strong Content-Security-Policy. There is no public exploit identified at time of analysis, but the vendor has confirmed and patched the issue.
Technical ContextAI
Pretix is a widely used open-source self-hosted ticketing and event-registration system written in Django/Python. The flaw is a CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page / Basic XSS) issue: HTML stored inside a PDF ticket or badge layout specification is rendered and executed verbatim when the in-browser PDF editor loads it. The root cause is twofold - layout content is not sanitized/neutralized before being placed into the DOM, and the PDF rendering/editing libraries (e.g. PDF.js-style client-side editors) require relaxed framing/inline-script handling, so this particular page intentionally omits the strict Content-Security-Policy that protects the rest of the Pretix backend and would otherwise neutralize the injected script. The affected CPE is cpe:2.3:a:pretix:pretix.
RemediationAI
Vendor-released patch: upgrade Pretix to release 2026.5.2 (or later), per the vendor advisory at https://pretix.eu/about/en/blog/20260625-release-2026-5-2/, which is the primary and recommended fix. Self-hosted operators running Docker or pip installations should update their image/package and restart services. As an interim compensating control where immediate patching is not possible, restrict who holds backend accounts with PDF ticket/badge layout edit permissions to a minimal set of fully trusted staff (this reduces the pool of potential injectors but does not eliminate risk if any such account is compromised), and avoid opening untrusted or unexpected layouts in the PDF editor. Operators with reverse-proxy control may also consider adding a Content-Security-Policy header to the layout editor endpoints, but be aware this can break the PDF rendering/editing libraries that the page depends on - which is precisely why Pretix omitted strict CSP there - so test carefully before deploying.
pretix before 2024.1.1 mishandles file validation. Rated critical severity (CVSS 9.8), this vulnerability is remotely ex
Server-side URL manipulation in the pretix-oppwa payment plugin (fixed in pretix 2026.5.3) lets a remote attacker exfilt
pretix before 2023.7.2 allows Pillow to parse EPS files. Rated high severity (CVSS 7.8), this vulnerability is no authen
Privilege escalation to full account takeover in pretix (open-source event ticketing) and its payment integration plugin
rami.io pretix before 4.17.1 allows OAuth application authorization from a logged-out session. Rated high severity (CVSS
Venueless instances allow authenticated users with 'update world' permissions to exfiltrate chat messages from direct me
Cross-world user deletion in venueless allows authenticated API users with 'manage users' permission in one world to del
Stored XSS in organizer and event settings of pretix up to 2024.7.0 allows malicious event organizers to inject HTML tag
Information disclosure in Pretix email template processing allows authenticated backend users to extract sensitive syste
Information disclosure in Pretix email template processing allows authenticated backend users to extract sensitive syste
Payment status replay in pretix-mollie allows unauthenticated attackers to obtain multiple valid event tickets by reusin
Payment response replay vulnerability in the pretix-oppwa integration allows a remote attacker to reuse a legitimate Opp
Same weakness CWE-80 – Basic XSS
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39425
GHSA-4jgq-8mwg-w9q9