VulnerabilityCVE-2026-0540GHSA-v2wj-7wpq-c8vvWID-SEC-W-2026-1007:CVE-2026-0540WID-SEC-W-2026-2448:CVE-2026-0540WID-SEC-W-2026-2933:CVE-2026-0540WID-SEC-W-2026-3046:CVE-2026-0540
DOMPurify XSS via Missing Rawtext Elements in SAFE_FOR_XML
Not on CISA KEV
Summary
DOMPurify 3.1.3 through 3.3.1 and 2.5.3 through 2.5.8, fixed in commit 2726c74, contain a cross-site scripting vulnerability that allows attackers to bypass attribute sanitization by exploiting five missing rawtext elements (noscript, xmp, noembed, noframes, iframe) in the SAFE_FOR_XML regex.
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)