Vulnerability Description
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(root, { IN_PLACE: true }) could preserve event-handler attributes on an attacker-controlled <form> root when a descendant name clobbered properties checked by _isClobbered, because _forceRemove no-opped on the parent-less root and _sanitizeAttributes returned early. 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-r47g-fvhr-h676ExploitMitigationVendor Advisory
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-r47g-fvhr-h676ExploitMitigationVendor Advisory
FAQ
What is CVE-2026-49459?
CVE-2026-49459 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(root, { IN_PLACE: true }) could preserve event-handler attributes on an attacker-co...
How severe is CVE-2026-49459?
CVE-2026-49459 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-49459?
Check the references section above for vendor advisories and patch information. Affected products include: Cure53 Dompurify.