Penpot 2.18.0 before 2.19.1 Stored XSS via SVG Sanitizer Re-serialization
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| PenpotPenpot |
≥ 2.18.0, < 2.19.1→ 2.19.1 |
2.19.1 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com