CVE-2026-133704
Penpot 2.18.0 before 2.18.2 Stored XSS via Namespace-Prefixed SVG Elements
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Reserved
- Nov 20, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N | VulnCheck |
| 3.1 | 5.4 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
penpotpenpot |
|
References
- GitHub Security Advisory (GHSA-82p2-67qr-4rwf)vendor-advisory
- https://github.com/penpot/penpot/commit/238a4d8613d4799b92eab0e38e5194fb72dc116dpatch
- https://github.com/penpot/penpot/blob/2.18.0/backend/src/app/media/svg.cljtechnical-description
- penpot 2.18.2 Release Notesrelease-notes
- VulnCheck Advisory: Penpot 2.18.0 before 2.18.2 Stored XSS via Namespace-Prefixed SVG Elementsthird-party-advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.