CyberRota Analysis
AI-GeneratedDOMPurify versions prior to 3.3.2 are vulnerable to a prototype pollution issue in USE_PROFILES mode, enabling attackers to manipulate Array.prototype properties. This exploitation can lead to the bypass of attribute filtering, allowing malicious event handlers to be accepted as safe, which results in DOM-based XSS when the sanitized markup is rendered. Developers and security teams using DOMPurify 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 prototype pollution vulnerability in USE_PROFILES mode that allows attackers to bypass attribute filtering by polluting Array.prototype properties. Attackers can set Array.prototype properties like onclick to true, causing DOMPurify to accept event handlers as allowlisted attributes and resulting in DOM-based XSS when sanitized markup is rendered.
Related CVEs
Other vulnerabilities affecting the same vendor(s)