Penpot Stored XSS via Namespace-Prefixed SVG Elements
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
Penpot from 2.18.0 before 2.18.2 contains a stored cross-site scripting flaw (CWE-79) in its SVG sanitizer. The sanitize-svg-element blocklist can be bypassed with namespace-prefixed SVG elements such as x:script or attributes such as x:onload. An authenticated user with edit rights can upload such an SVG, which the server serves inline, running JavaScript in victims' Penpot sessions.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Penpot to version 2.18.2 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA penpot (penpot) Fixed in 2.18.2
Timeline
- 2026-11-20 Threatist record created from CVE-2026-133704
- 2026-11-20 Alias added: GHSA-f5h5-c9gp-6c5r
- 2026-11-20 CISA SSVC decision points changed
References
More penpot vulnerabilities
- TI-2026-68335 OS command injection in Penpot SVG exporter via fill color CVSS 3.1CRITICAL 9.9
- TI-2026-32845 Penpot: Pre-authenticated account takeover via team-invitation token + prepare-register-profile CVSS 3.1CRITICAL 9.9
- TI-2026-35172 Penpot: Stored XSS via comment content, innerHTML renders unsanitized HTML CVSS 3.1HIGH 8.7
- TI-2026-33540 Penpot: MCP REPL server binds to 0.0.0.0 with unauthenticated /execute endpoint — RCE CVSS 3.1HIGH 8.8
- TI-2026-14441 Missing authorization in Penpot CVSS 3.1HIGH 7.5
- TI-2026-33541 Penpot: Authenticated SSRF in remote image import via create-file-media-object-from-url CVSS 3.1HIGH 7.7
Sources
- CVE-2026-133704 · CVE Program
- CVE-2026-133704 · NVD
- FIRST EPSS
- GHSA-f5h5-c9gp-6c5r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences