Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-65912: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cure53 DOMPurify

0
Medium
VulnerabilityCVE-2026-65912cvecve-2026-65912
Published: 07/23/2026 (07/23/2026, 13:16:23 UTC)
Source: CVE Database V5
Vendor/Project: cure53
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/23/2026, 13:39:16 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses