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

Goal: 1000 CNY · Raised: 1359 CNY

100%

DOMPurify — Vulnerabilities & Security Advisories 29

All 29 CVE vulnerabilities found in DOMPurify, with AI-generated Chinese analysis, references, and POCs.

This page catalogs known weaknesses associated with DOMPurify, a popular DOM-only XSS sanitizer. It serves as a centralized resource for tracking security incidents specific to this JavaScript library developed by Cure53. The collection includes a wide range of vulnerability types such as stored cross-site scripting, prototype pollution, and insufficient input sanitization flaws. These entries span from the initial release of the library through recent updates in the current year, ensuring a comprehensive historical view of security issues. By aggregating data from various sources, this page captures both vendor-published advisories and community-reported bugs that may not have received immediate formal certification. Visitors can use this resource to track DOMPurify vendor advisories and understand the evolution of specific weakness classes within the context of DOM manipulation libraries. Users can also look up the product's vulnerability history to assess risk exposure over time or compare specific flaw types against similar tools in the ecosystem. This information helps developers make informed decisions about library upgrades and mitigation strategies. The data is organized to facilitate quick reference for security auditors, open-source maintainers, and application developers who rely on DOMPurify for client-side security. By providing a consolidated view of these issues, the page supports better security hygiene and proactive vulnerability management practices within modern web development workflows.

Vendor: cure53

CVE ID Title CVSS Severity Published
CVE-2026-109345 DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root CWE-79 6.1 Medium 2026-10-12
CVE-2026-109344 DOMPurify from 3.4.13 before 3.4.16 DOM XSS via IN_PLACE afterSanitize Hooks CWE-79 6.1 Medium 2026-10-12
CVE-2026-75838 DOMPurify before 3.4.13 Cross-Site Scripting via IN_PLACE hook CWE-79 5.1 Medium 2026-08-18
CVE-2026-66010 DOMPurify before 3.4.12 Hook Bypass via CUSTOM_ELEMENT_HANDLING CWE-79 6.1 Medium 2026-07-24
CVE-2026-65914 DOMPurify before 3.3.2 Mutation XSS via Re-Contextualization CWE-79 5.3 Medium 2026-07-23
CVE-2026-65913 DOMPurify before 3.3.2 Prototype Pollution via USE_PROFILES CWE-1321 6.1 Medium 2026-07-23
CVE-2026-65911 DOMPurify before 3.4.0 XSS via ADD_ATTR/ADD_TAGS State Leakage CWE-79 6.1 Medium 2026-07-23
CVE-2026-65912 DOMPurify before 3.3.2 URI Validation Bypass via ADD_ATTR CWE-79 6.1 Medium 2026-07-23
CVE-2026-65904 DOMPurify through 3.3.3 Cross-Site Scripting via IN_PLACE mode CWE-754 4.7 Medium 2026-07-23
CVE-2026-65902 DOMPurify before 3.4.7 Hook Mutation Pollution via allowedTags CWE-501 6.1 Medium 2026-07-23
CVE-2026-65903 DOMPurify before 3.4.0 ADD_TAGS Function Bypasses FORBID_TAGS CWE-697 6.1 Medium 2026-07-23
CVE-2026-65901 DOMPurify 3.4.6 Cross-Site Scripting via IN_PLACE nodeName CWE-79 6.1 Medium 2026-07-23
CVE-2026-65900 DOMPurify before 3.4.8 Template Expression Injection via RETURN_DOM CWE-79 6.1 Medium 2026-07-23
CVE-2026-65899 DOMPurify before 3.4.9 Trusted Types Policy State Contamination CWE-693 6.1 Medium 2026-07-23
CVE-2026-65898 DOMPurify before 3.4.11 Permanent Attribute Allowlist Pollution via setConfig CWE-79 7.2 High 2026-07-23
CVE-2026-49978 DOMPurify IN_PLACE Sanitization Bypass via Attached Shadow Root Inside <template>.content CWE-79 - - 2026-07-14
CVE-2026-49459 DOMPurify: IN_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOM CWE-79 6.1 Medium 2026-07-14
CVE-2026-49458 DOMPurify: Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checks CWE-79 6.1 Medium 2026-07-14
CVE-2026-47423 DOMPurify XSS via `selectedcontent` re-clone CWE-79 8.2 High 2026-07-14
CVE-2026-41240 DOMPurify: FORBID_TAGS bypassed by function-based ADD_TAGS predicate (asymmetry with FORBID_ATTR fix) CWE-183 7.2AI High AI 2026-04-23
CVE-2026-41239 DOMPurify has a SAFE_FOR_TEMPLATES bypass in RETURN_DOM mode CWE-79 6.8 Medium 2026-04-23
CVE-2026-41238 DOMPurify: Prototype Pollution to XSS Bypass via CUSTOM_ELEMENT_HANDLING Fallback CWE-79 6.9 Medium 2026-04-23
CVE-2026-0540 DOMPurify XSS via Missing Rawtext Elements in SAFE_FOR_XML CWE-79 6.1 Medium 2026-03-03
CVE-2025-15599 DOMPurify XSS via Textarea Rawtext Bypass in SAFE_FOR_XML CWE-79 6.1 Medium 2026-03-03
CVE-2025-48050 DOMPurify 安全漏洞 CWE-24 7.5 High 2025-05-15
CVE-2025-26791 DOMPurify 安全漏洞 CWE-79 4.5 Medium 2025-02-14
CVE-2024-48910 DOMPurify vulnerable to tampering by prototype polution CWE-1321 9.1 Critical 2024-10-31
CVE-2024-47875 DOMPurify nesting-based mXSS CWE-79 10.0 Critical 2024-10-11
CVE-2024-45801 Tampering by prototype polution in DOMPurify CWE-1333 7.3 High 2024-09-16

All 29 known CVE vulnerabilities affecting DOMPurify with full Chinese analysis, references, and POCs where available.