{"id":"CVE-2026-133704","summary":"Penpot 2.18.0 before 2.18.2 Stored XSS via Namespace-Prefixed SVG Elements","details":"Penpot 2.18.0 before 2.18.2 contains a stored cross-site scripting vulnerability that allows authenticated users with edit rights to bypass the sanitize-svg-element blocklist using namespace-prefixed SVG elements. Attackers can upload SVGs containing elements like x:script or attributes like x:onload, which are served inline as image/svg+xml to run JavaScript in victims' Penpot sessions.","aliases":["GHSA-82p2-67qr-4rwf"],"modified":"2026-11-20T14:00:28.894142270Z","published":"2026-11-20T12:17:12.497Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133704.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133704.json"},{"type":"PACKAGE","url":"https://github.com/penpot/penpot"},{"type":"ARTICLE","url":"https://github.com/penpot/penpot/blob/2.18.0/backend/src/app/media/svg.clj"},{"type":"FIX","url":"https://github.com/penpot/penpot/commit/238a4d8613d4799b92eab0e38e5194fb72dc116d"},{"type":"ADVISORY","url":"https://github.com/penpot/penpot/releases/tag/2.18.2"},{"type":"ADVISORY","url":"https://github.com/penpot/penpot/security/advisories/GHSA-82p2-67qr-4rwf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133704"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/penpot-2.18.0-before-2.18.2-stored-xss-via-namespace-prefixed-svg-elements"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/penpot/penpot","events":[{"introduced":"5baffdc213f0deaaeb318e97a41d611ac0656a94"},{"fixed":"cf46b53bcb61c2a9be8f202bec03647a5470d43d"},{"fixed":"238a4d8613d4799b92eab0e38e5194fb72dc116d"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2.18.0"},{"fixed":"2.18.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"238a4d8613d4799b92eab0e38e5194fb72dc116d"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"cf46b53bcb61c2a9be8f202bec03647a5470d43d"}],"source":"REFERENCES_TAG","original_tag":"2.18.2"}]}}],"versions":["2.18.1","2.18.1-RC1","2.18.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-133704.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"}]}