CVE-2024-45801 in Cure53 Dompurify
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check. This r...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Cure53 | Dompurify | < 2.5.4 ≥ 3.0.0, < 3.1.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check. This renders dompurify unable to avoid cross site scripting (XSS) attacks. This issue has been addressed in versions 2.5.4 and 3.1.3 of DOMPurify. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-45801 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-213738-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Published | 2024-09-16 |
| Last modified | 2026-11-27 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-1321: CWE-1321
CWE-1333: CWE-1333
Related attack patterns (CAPEC)
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-1321
CAPEC-77 Manipulating User-Controlled Variables via CWE-1321
CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels via CWE-1321
CAPEC-492 Regular Expression Exponential Blowup via CWE-1333
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in DOMPurify allows malicious HTML to bypass depth checking and use Prototype Pollution to weaken the depth check, leading to potential XSS attacks.
Malicious HTML with special nesting techniques can bypass the depth checking mechanism in DOMPurify. Additionally, Prototype Pollution can be used to further weaken the depth check, making it possible for attackers to inject malicious scripts.
Questions
What is CVE-2024-45801?
A vulnerability in DOMPurify allows malicious HTML to bypass depth checking and use Prototype Pollution to weaken the depth check, leading to potential XSS attacks.
What is the CVSS score for CVE-2024-45801?
CVE-2024-45801 has CVSS 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. EPSS: 1.3%.
Is CVE-2024-45801 actively exploited?
No confirmed active exploitation of CVE-2024-45801 as of 2026-11-28.
How do I remediate CVE-2024-45801?
Priority: HIGH.
What systems are affected by CVE-2024-45801?
CVE-2024-45801 affects Cure53 Dompurify.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Cure53","product":"Dompurify","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-27.