CVE-2026-134828
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| penpot | penpot | {"startIncluding":"2.18.0","endExcluding":"2.19.1"} | 2.19.1 |
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
- https://www.vulncheck.com/advisories/penpot-2.18.0-before-2.19.1-stored-xss-via-svg-sanitizer-re-serialization
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.