Home / cure53 / DOMPurify / CVE-2024-45801
CVE-2024-45801: is it exploited, and which versions of cure53 DOMPurify are affected and fixed?
CVE-2024-45801 is a regular expression denial of service (ReDoS) vulnerability in cure53 DOMPurify. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: dompurify before 2.5.4 and dompurify from 3.0.0 before 3.1.3 (GitHub advisory GHSA-mmhx-hmjr-r674). Fixed in 2.5.4 and 3.1.3 (GitHub advisory GHSA-mmhx-hmjr-r674). Severity: High (7.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 27, 2026, 15:12 UTC and NVD November 27, 2026, 16:09 UTC.
What is CVE-2024-45801?
Tampering by prototype polution in 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 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.
From the CVE record by GitHub_M, last updated November 27, 2026, 15:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| cure53 | DOMPurify | < 2.5.4 >=3.0.0, < 3.1.3 |
As the CVE record by GitHub_M states it, last updated November 27, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | dompurify | < 2.5.4 | 2.5.4 | GHSA-mmhx-hmjr-r674 |
| npm | dompurify | >= 3.0.0, < 3.1.3 | 3.1.3 | GHSA-mmhx-hmjr-r674 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 27, 2026. Summary: DOMPurify allows tampering by prototype pollution.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cure53 | dompurify | before 2.5.4 | application |
| cure53 | dompurify | from 3.0.0 before 3.1.3 | application |
NVD analysis (status Modified), last modified November 27, 2026, 15:17 UTC.
How severe is CVE-2024-45801?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | GitHub_M |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-45801 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 16, 2024)
- EPSS
- 0.91% probability of exploitation activity in the next 30 days, percentile 61.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1333 Inefficient Regular Expression Complexity
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
Where are the vendor advisories and references?
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674 x_refsource_CONFIRM
- https://github.com/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21 x_refsource_MISC
- https://github.com/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebc x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2026/11/msg00070.html
When was it published, and where is the official record?
- Reserved
- September 9, 2024
- Published
- September 16, 2024, 18:25 UTC
- CVE record updated
- November 27, 2026, 15:05 UTC by GitHub_M
- NVD
- Modified, last modified November 27, 2026, 15:17 UTC
- Last checked
- CVE list November 27, 2026, 15:12 UTC; NVD November 27, 2026, 16:09 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect DOMPurify?
- Dec 1, 2026CVE-2026-140391 cure53 DOMPurify: cross-site scripting (XSS)
- Oct 26, 2026CVE-2026-116804 cure53 DOMPurify: cross-site scripting (XSS)
- Oct 26, 2026CVE-2026-116803 cure53 DOMPurify: cross-site scripting (XSS)
- Oct 26, 2026CVE-2026-116802 cure53 DOMPurify: cross-site scripting (XSS)
- Oct 12, 2026CVE-2026-109345 cure53 DOMPurify: cross-site scripting (XSS)
- Oct 12, 2026CVE-2026-109344 cure53 DOMPurify: cross-site scripting (XSS)
- Aug 18, 2026CVE-2026-75838 cure53 DOMPurify: cross-site scripting (XSS)
- Jul 24, 2026CVE-2026-66010 cure53 DOMPurify: cross-site scripting (XSS)
Questions about CVE-2024-45801
Is CVE-2024-45801 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.91% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of cure53 DOMPurify are affected by CVE-2024-45801?
dompurify before 2.5.4 and dompurify from 3.0.0 before 3.1.3, per the GitHub advisory GHSA-mmhx-hmjr-r674. The tables above give every range the sources list.
Which version fixes CVE-2024-45801?
2.5.4 and 3.1.3, per the GitHub advisory GHSA-mmhx-hmjr-r674. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-45801?
High (7.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-45801?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.