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-65903: Incorrect Comparison in cure53 DOMPurify

0
Medium
VulnerabilityCVE-2026-65903cvecve-2026-65903
Published: 07/23/2026 (07/23/2026, 13:16:21 UTC)
Source: CVE Database V5
Vendor/Project: cure53
Product: DOMPurify

Description

DOMPurify before 3.4.0 contains a logic error in the ADD_TAGS function where short-circuit evaluation allows forbidden tags to bypass FORBID_TAGS restrictions. Attackers can craft input containing tags listed in FORBID_TAGS that are also added via ADD_TAGS function, causing them to be retained in sanitized output.

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

Affected software

dompurify
pkg:npm/dompurify
Affected versions
<3.4.0

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

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

Technical Analysis

CVE-2026-65903 is a logic flaw in DOMPurify before version 3.4.0 where the ADD_TAGS function's short-circuit evaluation causes forbidden tags specified in FORBID_TAGS to be retained in sanitized output. Attackers can exploit this by including tags that are both forbidden and added via ADD_TAGS, bypassing the intended tag filtering mechanism. This undermines the sanitization process, potentially allowing unsafe tags to persist in the output.

Potential Impact

The vulnerability allows forbidden HTML tags to bypass DOMPurify's sanitization filters, potentially leading to unsafe content being retained in sanitized output. This could increase the risk of injection of malicious HTML elements, affecting the security of applications relying on DOMPurify for input sanitization. However, no known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when relying on DOMPurify versions prior to 3.4.0 for sanitizing untrusted input, and consider alternative sanitization methods or additional filtering controls.

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-23T11:03:13.092Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6215a29c2644c7f82072ed

Added to database: 07/23/2026, 13:22:42 UTC

Last enriched: 07/23/2026, 13:39:49 UTC

Last updated: 07/24/2026, 00:07:27 UTC

Views: 9

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