Stored cross-site scripting in Penpot SVG sanitizer
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.19.1 contains a stored cross-site scripting flaw (CWE-79) in the sanitize-svg function. Authenticated users with file edit permission can upload SVGs with entity-encoded or CDATA-wrapped markup, or attribute quote breakouts, that bypass filtering through unescaped re-serialization. JavaScript then runs in the Penpot origin when a victim opens the file.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
Penpot 2.18.0 before 2.19.1 contains a stored cross-site scripting vulnerability in the sanitize-svg function that allows authenticated users to bypass filtering through unescaped re-serialization. Attackers with file edit permission can upload SVGs using entity-encoded or CDATA-wrapped markup or attribute quote breakouts to execute JavaScript in the Penpot origin when victims open them.
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.19.1 or later, which fixes the issue. No vendor advisory identifier is listed in the sources.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Penpot (Penpot) Fixed in 2.19.1
Timeline
- 2026-11-22 Threatist record created from CVE-2026-134828
- 2026-11-23 Alias added: GHSA-3xr3-gj5w-cwjf
- 2026-11-23 CISA SSVC decision points changed
References
Patch 2
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-134828 · CVE Program
- CVE-2026-134828 · NVD
- FIRST EPSS
- GHSA-3xr3-gj5w-cwjf · 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