XSS in Penpot
CVE-2026-133704
- CVSS v3
- 5.4 Medium
- Public exploits
- None known
- EPSS
- 0.005 · 41.3th percentile
- Published
- 2026-11-20
Penpot 2.18.0 before 2.18.2 contains a stored cross-site scripting vulnerability that allows authenticated users with edit rights to bypass the sanitize-svg-element blocklist using namespace-prefixed SVG elements. Attackers can upload SVGs containing elements like x:script or attributes like x:onload, which are served inline as image/svg+xml to run JavaScript in victims' Penpot sessions.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.005, 41.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/penpot/penpot/security/advisories/GHSA-82p2-67qr-4rwf (vendor-advisory)
- github.com/penpot/penpot/commit/238a4d8613d4799b92eab0e38e5194fb72dc116d (patch)
- github.com/penpot/penpot/blob/2.18.0/backend/src/app/media/svg.clj (technical-description)
- github.com/penpot/penpot/releases/tag/2.18.2 (release-notes)
- www.vulncheck.com/advisories/penpot-2.18.0-before-2.18.2-stored-xss-via-namespa… (third-party-advisory)