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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-65898— DOMPurify before 3.4.11 Permanent Attribute Allowlist Pollution via setConfig

CVSS 7.2 · High EPSS 0.15% · P5

Affected Version Matrix 2

VendorProductVersion RangeStatus
cure53DOMPurify< 3.4.11affected
3.4.11unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-65898

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.11 Permanent Attribute Allowlist Pollution via setConfig
Source: CVE Program / CVE List V5
Vulnerability Description
DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitizeAttribute hook, allowing the hook to permanently mutate the shared allowlist. Attackers can register a hook that conditionally allows dangerous attributes like onerror for trusted elements, then submit untrusted content that inherits the polluted allowlist and executes event handlers as stored XSS.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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.4.11之前版本存在跨站脚本漏洞,该漏洞源于使用setConfig()结合uponSanitizeAttribute钩子时未克隆ALLOWED_ATTR允许列表,使钩子能够永久修改共享允许列表。攻击者可以注册一个钩子有条件地允许受信任元素中的危险属性(如onerror),然后提交继承被污染允许列表的不可信内容,以存储
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

VendorProductAffected VersionsCPESubscribe
cure53DOMPurify 0 ~ 3.4.11 -

II. Public POCs for CVE-2026-65898

#POC DescriptionSource LinkShenlong Link
AI-Generated POCVerified env Premium
Reproduced successfully in a real sandbox· Below is the actual recording of building the environment and exploiting the vulnerability.
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 12905 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-65898

登录查看更多情报信息。

Vendor Advisories for CVE-2026-65898 (2)

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

CVE-2026-658996.1 MEDIUMDOMPurify before 3.4.9 Trusted Types Policy State Contamination
CVE-2026-659016.1 MEDIUMDOMPurify 3.4.6 Cross-Site Scripting via IN_PLACE nodeName
CVE-2026-659006.1 MEDIUMDOMPurify before 3.4.8 Template Expression Injection via RETURN_DOM
CVE-2026-659126.1 MEDIUMDOMPurify before 3.3.2 URI Validation Bypass via ADD_ATTR
CVE-2026-659136.1 MEDIUMDOMPurify before 3.3.2 Prototype Pollution via USE_PROFILES
CVE-2026-659116.1 MEDIUMDOMPurify before 3.4.0 XSS via ADD_ATTR/ADD_TAGS State Leakage
CVE-2026-659036.1 MEDIUMDOMPurify before 3.4.0 ADD_TAGS Function Bypasses FORBID_TAGS
CVE-2026-659026.1 MEDIUMDOMPurify before 3.4.7 Hook Mutation Pollution via allowedTags
CVE-2026-659145.3 MEDIUMDOMPurify before 3.3.2 Mutation XSS via Re-Contextualization
CVE-2026-659044.7 MEDIUMDOMPurify through 3.3.3 Cross-Site Scripting via IN_PLACE mode

IV. Related Vulnerabilities

V. Comments for CVE-2026-65898

No comments yet


Leave a comment