Read the docs

Stored cross-site scripting in Penpot SVG sanitizer

Priority MEDIUM 56CWE-79Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00337 19th percentileScored 2026-11-30
Fix Fixed Penpot (Penpot): 2.19.1

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

VendorProductAffected versionsFixed inStatusSource
penpotPenpot2.18.0 to before 2.19.12.19.1Patch availableCNA
  • Penpot Vendorpenpot Affected 2.18.0 to before 2.19.1 Fixed in 2.19.1 Patch available CNA

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

  1. 2026-11-22 Threatist record created from CVE-2026-134828
  2. 2026-11-23 Alias added: GHSA-3xr3-gj5w-cwjf
  3. 2026-11-23 CISA SSVC decision points changed

References

  • 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
See all 20 →

Sources