CVE-2026-65912: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cure53 DOMPurify
DOMPurify versions before 3.3.2 have a vulnerability that allows bypassing URI validation when a predicate function is supplied via EXTRA_ELEMENT_HANDLING.attributeCheck. This can permit unsafe protocols like javascript: to pass sanitization, leading to potential DOM-based cross-site scripting (XSS) when such links are activated. The vulnerability has a medium severity with a CVSS score of 5.1. No official patch or remediation guidance is currently confirmed.
AI Analysis
Technical Summary
CVE-2026-65912 describes a cross-site scripting vulnerability in DOMPurify prior to version 3.3.2. The issue arises when the ADD_ATTR attribute is provided as a predicate function through EXTRA_ELEMENT_HANDLING.attributeCheck, allowing attackers to craft predicates that accept specific attribute and tag combinations. This bypasses the URI-safe validation mechanism, enabling unsafe protocols such as javascript: to survive sanitization and execute as DOM-based XSS upon link activation. The vulnerability has a CVSS 4.0 base score of 5.1, indicating medium severity. No vendor advisory or patch information is currently available.
Potential Impact
An attacker can bypass DOMPurify's URI validation by supplying a crafted predicate function, allowing unsafe protocols like javascript: to persist in sanitized content. This can lead to DOM-based cross-site scripting attacks when a user activates a malicious link, potentially resulting in script execution within the victim's browser context. The vulnerability affects the security of web applications relying on DOMPurify for sanitization of user-supplied content.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted predicate functions with EXTRA_ELEMENT_HANDLING.attributeCheck in DOMPurify. Consider restricting or reviewing custom attribute checks to prevent unsafe URI protocols from bypassing sanitization.
CVE-2026-65912: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cure53 DOMPurify
Description
DOMPurify versions before 3.3.2 have a vulnerability that allows bypassing URI validation when a predicate function is supplied via EXTRA_ELEMENT_HANDLING.attributeCheck. This can permit unsafe protocols like javascript: to pass sanitization, leading to potential DOM-based cross-site scripting (XSS) when such links are activated. The vulnerability has a medium severity with a CVSS score of 5.1. No official patch or remediation guidance is currently confirmed.
CVSS v4.0
Score 5.1medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-65912 describes a cross-site scripting vulnerability in DOMPurify prior to version 3.3.2. The issue arises when the ADD_ATTR attribute is provided as a predicate function through EXTRA_ELEMENT_HANDLING.attributeCheck, allowing attackers to craft predicates that accept specific attribute and tag combinations. This bypasses the URI-safe validation mechanism, enabling unsafe protocols such as javascript: to survive sanitization and execute as DOM-based XSS upon link activation. The vulnerability has a CVSS 4.0 base score of 5.1, indicating medium severity. No vendor advisory or patch information is currently available.
Potential Impact
An attacker can bypass DOMPurify's URI validation by supplying a crafted predicate function, allowing unsafe protocols like javascript: to persist in sanitized content. This can lead to DOM-based cross-site scripting attacks when a user activates a malicious link, potentially resulting in script execution within the victim's browser context. The vulnerability affects the security of web applications relying on DOMPurify for sanitization of user-supplied content.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using untrusted predicate functions with EXTRA_ELEMENT_HANDLING.attributeCheck in DOMPurify. Consider restricting or reviewing custom attribute checks to prevent unsafe URI protocols from bypassing sanitization.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-23T12:51:09.595Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6215a29c2644c7f82072f9
Added to database: 07/23/2026, 13:22:42 UTC
Last enriched: 07/23/2026, 13:39:16 UTC
Last updated: 07/23/2026, 13:51:09 UTC
Views: 4
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.