CVE-2026-133704
Penpot 2.18.0 before 2.18.2 Stored XSS via Namespace-Prefixed SVG Elements
Medium · 5.1Fix available
- CVSS
- 5.1
- EPSS
- 0.32% (p17)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-20
- Product
- penpot penpot
- Aliases
- GHSA-82p2-67qr-4rwf
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
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.
Fixed in
2.18.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | penpot | >=2.18.0, <2.18.2 | 2.18.2 |
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 10d ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/penpot/penpot/security/advisories/GHSA-82p2-67qr-4rwf vendor-advisory
- https://github.com/penpot/penpot/commit/238a4d8613d4799b92eab0e38e5194fb72dc116d patch
- https://github.com/penpot/penpot/blob/2.18.0/backend/src/app/media/svg.clj technical-description
- https://github.com/penpot/penpot/releases/tag/2.18.2 release-notes
- https://www.vulncheck.com/advisories/penpot-2.18.0-before-2.18.2-stored-xss-via-namespace-prefixed-svg-elements third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133704.json advisory
- https://github.com/penpot/penpot package
- https://nvd.nist.gov/vuln/detail/CVE-2026-133704 advisory