CVE-2026-57532

XSS in Pretix PDF Editor via Malicious Layout Script

Published Jun 25, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A malicious HTML fragment embedded in the layout specification of a PDF ticket or badge can execute when the PDF editor is opened in a browser, enabling a backend user to inject JavaScript that runs in the context of another backend user. This cross‑site scripting flaw allows the attacker to read or modify data, perform actions as the victim user, or hijack the visitor’s session, with the severity reflected by a CVSS score of 8.8. The weakness is identified as CWE‑80.

Affected Systems

The vulnerability affects all installations of Pretix. No specific product version is listed in the CNA data, so every pre‑2026‑5‑2 release of Pretix is potentially impacted until patched.

Risk and Exploitability

The flaw requires a legitimate backend role that can create or alter PDF layouts and access the PDF editor page. Because most pages in the backend lack a strong Content‑Security‑Policy, the JavaScript can run without restriction. The EPSS value is unavailable and the vulnerability is not in the CISA KEV catalog, yet the high CVSS score indicates significant risk if exploited. An attacker can create a malicious layout, distribute it or enable the PDF editor for a target user to trigger the XSS.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Pretix to version 2026.5.2 or later, which contains a fix for the PDF layout XSS issue
  • Remove any existing malicious or untrusted layout files from the system
  • Apply a strict Content‑Security‑Policy to the /admin interface or temporarily restrict access to the PDF editor until the patch is applied

Generated by OpenCVE AI on June 25, 2026 at 15:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Pretix
Pretix pretix
Vendors & Products Pretix
Pretix pretix
Type Values Removed Values Added
Title XSS in Pretix PDF Editor via Malicious Layout Script
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-80
References
Metrics cvssV4_0

{'score': 8.8, 'vector': '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'}

Weaknesses
  • CWE-80

    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Sources

Status
PUBLISHED
Assigner
rami.io
Published
Updated
Jun 25, 2026, 3:04 PM
Reserved
Jun 24, 2026, 3:59 PM
Status
Deferred
Published
Jun 25, 2026, 3:16 PM
Modified
Jun 25, 2026, 4:16 PM