CVE-2026-134828
MEDIUM
NVD
CVSS Score
5.4
Severity
MEDIUM
Published
Nov 22, 2026
Vendor
unknown
Description
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.
References
- https://github.com/penpot/penpot/blob/2.19.0/backend/src/app/media/svg.clj#L97-L106
- https://github.com/penpot/penpot/commit/4874da450f1e1f055e44109ef451ef0452f0bcea
- https://github.com/penpot/penpot/pull/12887
- https://github.com/penpot/penpot/releases/tag/2.19.1
- https://github.com/penpot/penpot/security/advisories/GHSA-qwhj-rchj-58mg