{"id":"CVE-2026-134828","summary":"Penpot 2.18.0 before 2.19.1 Stored XSS via SVG Sanitizer Re-serialization","details":"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.","aliases":["GHSA-qwhj-rchj-58mg"],"modified":"2026-11-22T23:00:08.361107317Z","published":"2026-11-22T21:21:49.573Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134828.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134828.json"},{"type":"PACKAGE","url":"https://github.com/penpot/penpot"},{"type":"ARTICLE","url":"https://github.com/penpot/penpot/blob/2.19.0/backend/src/app/media/svg.clj#L97-L106"},{"type":"FIX","url":"https://github.com/penpot/penpot/commit/4874da450f1e1f055e44109ef451ef0452f0bcea"},{"type":"FIX","url":"https://github.com/penpot/penpot/pull/12887"},{"type":"ADVISORY","url":"https://github.com/penpot/penpot/releases/tag/2.19.1"},{"type":"ADVISORY","url":"https://github.com/penpot/penpot/security/advisories/GHSA-qwhj-rchj-58mg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134828"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/penpot-2.18.0-before-2.19.1-stored-xss-via-svg-sanitizer-re-serialization"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/penpot/penpot","events":[{"introduced":"5baffdc213f0deaaeb318e97a41d611ac0656a94"},{"fixed":"5e5722dfe7f2f92c5b9a10d74ef7030bd641b2b7"},{"fixed":"4874da450f1e1f055e44109ef451ef0452f0bcea"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"2.18.0"},{"fixed":"2.19.1"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"4874da450f1e1f055e44109ef451ef0452f0bcea"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"5e5722dfe7f2f92c5b9a10d74ef7030bd641b2b7"}],"source":"REFERENCES_TAG","original_tag":"2.19.1"}]}}],"versions":["2.19.0-RC7","2.19.0","2.19.0-RC6","2.19.0-RC5","2.19.0-RC4","2.19.0-RC3","2.19.0-RC2","2.18.1-RC1","2.19.0-RC1","2.18.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134828.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}