Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-65911— DOMPurify before 3.4.0 XSS via ADD_ATTR/ADD_TAGS State Leakage

Quick assessment

Affected
cure53 DOMPurify
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Cure53 DOMPurify是Cure53公司开源的一款使用JavaScript编写的,用于HTML、MathML和SVG的DOM(文档对象模型)。 Cure53 DOMPurify 3.3.3及之前版本存在跨站脚本漏洞,该漏洞源于通过ADD_ATTR或ADD_TAGS提供的函数谓词在同一实例的后续sanitize()调用中持续存在于内部状态(EXTRA_ELEMENT_HANDLING),若后续调用以数组而非函数形式提供参数,则先前设置的函数处理程序未清除或覆盖,导致攻击者控制的属性或标签得以通过,

CVSS 6.1 · Medium EPSS 0.33% · P25

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
cure53 DOMPurify < 3.4.0 affected
3.4.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-65911

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
DOMPurify before 3.4.0 XSS via ADD_ATTR/ADD_TAGS State Leakage
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Cure53 DOMPurify 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Cure53 DOMPurify是Cure53公司开源的一款使用JavaScript编写的,用于HTML、MathML和SVG的DOM(文档对象模型)。 Cure53 DOMPurify 3.3.3及之前版本存在跨站脚本漏洞,该漏洞源于通过ADD_ATTR或ADD_TAGS提供的函数谓词在同一实例的后续sanitize()调用中持续存在于内部状态(EXTRA_ELEMENT_HANDLING),若后续调用以数组而非函数形式提供参数,则先前设置的函数处理程序未清除或覆盖,导致攻击者控制的属性或标签得以通过,
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
cure53 DOMPurify 0 ~ 3.4.0 -

II. Public POCs for CVE-2026-65911

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-65911

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-65911 (2)

Same Patch Batch · cure53 · 2026-07-23 · 11 CVEs total

CVE-2026-65898 7.2 HIGH DOMPurify before 3.4.11 Permanent Attribute Allowlist Pollution via setConfig
CVE-2026-65899 6.1 MEDIUM DOMPurify before 3.4.9 Trusted Types Policy State Contamination
CVE-2026-65901 6.1 MEDIUM DOMPurify 3.4.6 Cross-Site Scripting via IN_PLACE nodeName
CVE-2026-65900 6.1 MEDIUM DOMPurify before 3.4.8 Template Expression Injection via RETURN_DOM
CVE-2026-65912 6.1 MEDIUM DOMPurify before 3.3.2 URI Validation Bypass via ADD_ATTR
CVE-2026-65913 6.1 MEDIUM DOMPurify before 3.3.2 Prototype Pollution via USE_PROFILES
CVE-2026-65903 6.1 MEDIUM DOMPurify before 3.4.0 ADD_TAGS Function Bypasses FORBID_TAGS
CVE-2026-65902 6.1 MEDIUM DOMPurify before 3.4.7 Hook Mutation Pollution via allowedTags
CVE-2026-65914 5.3 MEDIUM DOMPurify before 3.3.2 Mutation XSS via Re-Contextualization
CVE-2026-65904 4.7 MEDIUM DOMPurify through 3.3.3 Cross-Site Scripting via IN_PLACE mode

IV. Related Vulnerabilities

V. Comments for CVE-2026-65911

No comments yet


Leave a comment