Vulnerability Description
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(node, { IN_PLACE: true }) accepted same-origin foreign-realm DOM nodes while follow-on checks used parent-realm constructors, causing instanceof checks for forms, named node maps, document fragments, and elements to fail and skip clobber, template-content, and shadow-DOM sanitization branches so executable markup could survive. This issue is fixed in version 3.4.6.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cure53 | Dompurify | < 3.4.6 |
Related Weaknesses (CWE)
References
- https://github.com/cure53/DOMPurify/commit/bb7739e5bccec7e1ab3dae3f3e42d02db3acaPatch
- https://github.com/cure53/DOMPurify/releases/tag/3.4.6Release Notes
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8ExploitMitigationVendor Advisory
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8ExploitMitigationVendor Advisory
FAQ
What is CVE-2026-49458?
CVE-2026-49458 is a vulnerability with a CVSS score of 6.1 (MEDIUM). DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(node, { IN_PLACE: true }) accepted same-origin foreign-realm DOM nodes while follow...
How severe is CVE-2026-49458?
CVE-2026-49458 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-49458?
Check the references section above for vendor advisories and patch information. Affected products include: Cure53 Dompurify.