CVE Catalog

CVE-2026-49459

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

18th percentile - higher than 18% of all known CVEs

Summary

Vulnerability in DOMPurify before version 3.4.6 allows event-handler attributes to be preserved on an attacker-controlled <form> root when using DOMPurify.sanitize(root, { IN_PLACE: true }), enabling XSS attacks.

Risk Assessment

The organization risks cross-site scripting (XSS) in users' browsers if DOMPurify is used with the IN_PLACE option on untrusted HTML.

Recommendation

Update DOMPurify to version 3.4.6 or later, and avoid using the IN_PLACE option on user-supplied data.

Other vulnerabilities in DOMPurify

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS