Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as backend user with layout edit rights
-
DeliveryEmbed malicious HTML/JS in PDF layout spec
-
ExploitSave and wait for victim to open PDF editor
-
ExecutionCSP-free editor page renders payload
-
PersistScript executes in victim's backend session
-
ImpactPerform actions or steal session as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already hold an authenticated Pretix backend account with permission to create or edit PDF ticket/badge layouts (PR:H), and requires a second backend user to subsequently open the malicious layout in the in-browser PDF editor (UI:P / AT:P). The vulnerable surface is specifically the PDF layout editor page, which is one of the few backend pages lacking a strong Content-Security-Policy - that missing CSP is the enabling condition that lets the injected script run. Limiting factors: it cannot be triggered by unauthenticated or external users, it does not fire on the rest of the CSP-protected backend, and it depends on a privileged victim manually opening the crafted layout in the editor rather than executing automatically. |
| Impact | The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H, score 8.8) reflects a network-reachable but privilege-gated and interaction-dependent attack: the injector must already be an authenticated backend user (PR:H), a victim must open the malicious layout in the PDF editor (UI:P), and additional attack conditions apply (AT:P). This is fundamentally a stored XSS for privilege escalation/lateral movement among trusted backend staff rather than an unauthenticated internet-facing RCE, which tempers real-world risk. No EPSS score, no KEV listing, and no POC are present in the provided data, and there is no public exploit identified at time of analysis - signals consistent with a responsibly disclosed, vendor-patched issue rather than an actively exploited one. The notable aggravating factor the vendor explicitly calls out is the absence of CSP on this specific page, which removes the defense-in-depth layer that would otherwise blunt the payload; this raises the practical impact above a typical CSP-protected XSS. Note that the 8.8 here is a CVSS 4.0 score and should not be directly compared to 3.1 scores in triage tooling. |
| Exploit ScenarioDerived | A malicious or compromised backend user with layout-editing rights crafts a PDF ticket or badge layout containing HTML with an embedded JavaScript payload and saves it. When another backend user (for example an administrator) later opens that layout in the browser-based PDF editor, the script executes in their authenticated session context, allowing the attacker to perform actions as the victim or steal session data. No public POC is identified at time of analysis, but the attack is straightforward given backend access and a victim who opens the editor. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Pretix gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
2DescriptionCVE.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.
Executive ViewAI
Pretix, an open-source event ticketing platform, contains a security flaw in its administrator ticket editor that allows a malicious administrator to compromise other administrator accounts through injected code. Organizations relying on Pretix face insider risk including ticket fraud, event manipulation, and exposure of attendee data. A vendor patch is available and immediate deployment is critical to securing administrator access.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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
Unauthorized access to other users' ticket-purchase data in pretix is possible because the asynchronous background-task
Stored cross-site scripting in the pretix-adyen plugin lets an authenticated user who can create and configure a pretix
Venueless before commit 2f70a9d0 stores an administrator's password in plaintext in the database when that administrator
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
Offline ticket validation in the pretixSCAN check-in apps (Android, iOS, Desktop, and Proxy) can be bypassed, letting so
EUVD-2026-39425
GHSA-4jgq-8mwg-w9q9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB