CVE-2026-133704 Penpot 2.18.0 before 2.18.2 Stored XSS via Namespace-Prefixed SVG Elements
- Exploited in the wild
- Not known
- Fix
- 2.18.2
What is CVE-2026-133704?
CVE-2026-133704 is a medium-severity vulnerability in penpot, published on 20 Nov 2026.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-133704?
1 open source package ship an affected version, including penpot/penpot.
| Package | Affected | Fixed in |
|---|---|---|
penpot/penpot GitHubpkg:github/penpot/penpot | From 2.18.0 | 2.18.2 |
How do I fix CVE-2026-133704?
Upgrade penpot/penpot to 2.18.2 or later.
Is CVE-2026-133704 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-133704 exists.
Sources
Also known as GHSA-82p2-67qr-4rwf, GHSA-f5h5-c9gp-6c5r.