CVE-2026-49459: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cure53 DOMPurify
DOMPurify versions prior to 3.4.6 contain a cross-site scripting (XSS) vulnerability where event-handler attributes on an attacker-controlled <form> root element could be preserved during sanitization. This occurs due to a flaw in the handling of clobbered properties and early return in attribute sanitization. The issue is fixed in version 3.4.6.
AI Analysis
Technical Summary
CVE-2026-49459 is a cross-site scripting vulnerability in the DOMPurify library before version 3.4.6. When using DOMPurify.sanitize(root, { IN_PLACE: true }), event-handler attributes on an attacker-controlled <form> root element could be preserved if a descendant element's name clobbered properties checked by the internal _isClobbered function. This happens because the _forceRemove function no-ops on a parent-less root and _sanitizeAttributes returns early, allowing malicious event handlers to remain. The vulnerability is addressed by fixes applied in version 3.4.6.
Potential Impact
This vulnerability allows an attacker to inject and preserve malicious event-handler attributes in sanitized HTML, potentially enabling cross-site scripting attacks that can lead to partial compromise of confidentiality and integrity of affected web applications. The CVSS score of 6.1 reflects a medium severity with network attack vector, low attack complexity, no privileges required, user interaction required, and partial impact on confidentiality and integrity.
Mitigation Recommendations
Upgrade DOMPurify to version 3.4.6 or later, where this vulnerability is fixed. No other mitigation is indicated or required as the fix addresses the root cause directly.
CVE-2026-49459: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cure53 DOMPurify
Description
DOMPurify versions prior to 3.4.6 contain a cross-site scripting (XSS) vulnerability where event-handler attributes on an attacker-controlled <form> root element could be preserved during sanitization. This occurs due to a flaw in the handling of clobbered properties and early return in attribute sanitization. The issue is fixed in version 3.4.6.
CVSS v3.1
Score 6.1medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-49459 is a cross-site scripting vulnerability in the DOMPurify library before version 3.4.6. When using DOMPurify.sanitize(root, { IN_PLACE: true }), event-handler attributes on an attacker-controlled <form> root element could be preserved if a descendant element's name clobbered properties checked by the internal _isClobbered function. This happens because the _forceRemove function no-ops on a parent-less root and _sanitizeAttributes returns early, allowing malicious event handlers to remain. The vulnerability is addressed by fixes applied in version 3.4.6.
Potential Impact
This vulnerability allows an attacker to inject and preserve malicious event-handler attributes in sanitized HTML, potentially enabling cross-site scripting attacks that can lead to partial compromise of confidentiality and integrity of affected web applications. The CVSS score of 6.1 reflects a medium severity with network attack vector, low attack complexity, no privileges required, user interaction required, and partial impact on confidentiality and integrity.
Mitigation Recommendations
Upgrade DOMPurify to version 3.4.6 or later, where this vulnerability is fixed. No other mitigation is indicated or required as the fix addresses the root cause directly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-30T02:43:33.107Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a569d1f68715ace43280da6
Added to database: 07/14/2026, 20:33:35 UTC
Last enriched: 07/21/2026, 22:43:03 UTC
Last updated: 08/28/2026, 22:52:11 UTC
Views: 101
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.