CVE-2026-134828 PUBLISHED

Penpot 2.18.0 before 2.19.1 Stored XSS via SVG Sanitizer Re-serialization

Assigner: VulnCheck
Reserved: 22.11.2026 Published: 22.11.2026 Updated: 22.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
CVSS Score: 5.1

Product Status

Vendor Penpot
Product Penpot
Versions Default: unaffected
  • affected from 2.18.0 to 2.19.1 (excl.)

Credits

  • b-hermes finder
  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE