CyberRota Analysis
AI-GeneratedDOMPurify versions prior to 3.3.2 are vulnerable to a mutation-XSS attack when sanitized HTML is reintegrated into specific parsing contexts, such as script or iframe elements. This flaw allows attackers to exploit closing sequences to escape the wrapper context, potentially executing malicious JavaScript. Developers and organizations utilizing DOMPurify for HTML sanitization should prioritize upgrading to the latest version to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
DOMPurify before 3.3.2 contains a mutation-XSS vulnerability when sanitized HTML is reinserted into special parsing contexts using innerHTML with wrappers like script, xmp, iframe, noembed, noframes, or noscript. Attackers can craft payloads with closing sequences that break out of the wrapper context during reparsing, reactivating dangerous markup with event handlers to execute JavaScript.
Related CVEs
Other vulnerabilities affecting the same vendor(s)