CVE-2026-133704
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| penpot | penpot | {"startIncluding":"2.18.0","endExcluding":"2.18.2"} | 2.18.2 |
References
- https://github.com/penpot/penpot/blob/2.18.0/backend/src/app/media/svg.clj
- https://github.com/penpot/penpot/commit/238a4d8613d4799b92eab0e38e5194fb72dc116d
- https://github.com/penpot/penpot/releases/tag/2.18.2
- https://github.com/penpot/penpot/security/advisories/GHSA-82p2-67qr-4rwf
- https://www.vulncheck.com/advisories/penpot-2.18.0-before-2.18.2-stored-xss-via-namespace-prefixed-svg-elements
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.