SEPTEMBER 11, 2026
Live Feed
Back to database
Case File

CVE-2026-65911

MEDIUM · CVSS 6.1 EPSS 0.19% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-07-23 · Last synced 2026-08-22

CyberRota Analysis

AI-Generated

DOMPurify versions up to 3.3.3 are vulnerable due to improper handling of function predicates in the ADD_ATTR or ADD_TAGS options, which can lead to the persistence of unsafe attributes or tags across multiple sanitize() calls. This flaw potentially allows attackers to bypass sanitization protections, leading to cross-site scripting (XSS) vulnerabilities. Developers using DOMPurify for input sanitization should prioritize upgrading to version 3.4.0 or later to mitigate this risk.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

GitHub PoC Links

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-65911
Severity
MEDIUM
CVSS
6.1
EPSS
0.19%

Original NVD Description

In DOMPurify through 3.3.3, function predicates supplied via ADD_ATTR or ADD_TAGS to DOMPurify.sanitize() persist in internal state (EXTRA_ELEMENT_HANDLING) across subsequent sanitize() calls on the same instance. If a later call on the same instance provides ADD_ATTR or ADD_TAGS as an array rather than a function, the previously set function handler is neither cleared nor overwritten, so it continues to approve attacker-controlled attributes or tags. This can allow dangerous event-handler attributes or forbidden tags (bypassing FORBID_TAGS) to survive sanitization, resulting in cross-site scripting. The vendor (Cure53) considers this an edge case outside DOMPurify's threat model; the referenced advisory lists 3.4.0 as the patched version.

Related CVEs

Other vulnerabilities affecting the same vendor(s)