CVE-2026-133704
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-el…
Impact
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.
An attacker can exploit this over the network, with a regular user account, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected products · Penpot
| Product | Affected versions |
|---|---|
| Penpot | from 2.18.0 before 2.18.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/penpot/penpot/security/advisories/GHSA-82p2-67qr-4rwf
- https://github.com/penpot/penpot/commit/238a4d8613d4799b92eab0e38e5194fb72dc116d
- https://github.com/penpot/penpot/blob/2.18.0/backend/src/app/media/svg.clj
- https://github.com/penpot/penpot/releases/tag/2.18.2
- https://www.vulncheck.com/advisories/penpot-2.18.0-before-2.18.2-stored-xss-via-namespace-prefixed-svg-elements
- https://github.com/advisories/GHSA-f5h5-c9gp-6c5r
- https://nvd.nist.gov/vuln/detail/CVE-2026-133704