CVE-2024-45801 json
Tampering by prototype polution in DOMPurify
published 2024-09-16 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-2835 , GHSA-mmhx-hmjr-r674
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm dompurify 2.5.4, 3.1.3
- cure53 dompurify 2.5.4, 3.1.3
- node-dompurify Debian 12 2.4.1+dfsg+~2.4.0-2+deb12u1
debian advisories DEBIAN-CVE-2024-45801
- ansible-core ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 1:2.15.13-1.el8ap
- ansible-core ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 1:2.15.13-1.el9ap
- automation-controller-venv-tower ansible automation platform 2.4 4.5.13-1.el8ap
- automation-controller-venv-tower ansible automation platform 2.4 4.5.13-1.el9ap
red hat advisories RHSA-2024:10762
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-45801 updated cvss 7.0
dompurify: XSS vulnerability via prototype pollution
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-console-plugin-rhel9affected: workaround, no fix available
-
Red Hat Node HealthCheck Operator workload-availability/node-remediation-console-rhel8 Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel7affected: workaround, no fix planned “Will not fix”
-
Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8affected: workaround, no fix available
-
Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat Enterprise Linux 10 grafana Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-networking-console-plugin-rhel9 Red Hat OpenShift Data Science (RHODS) rhods/odh-dashboard-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9, openshift-gitops-1/console-plugin-rhel8, openshift-gitops-1/gitops-operator-bundleaffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-console-plugin-rhel9 Red Hat Process Automation 7 dompurifyaffected: workaround, no fix planned “Will not fix”
-
Red Hat Cryostat 3 on RHEL 8 cryostat-tech-preview/cryostat-rhel8 3.0.1-3, cryostat-tech-preview/cryostat-db-rhel8 3.0.1-3, cryostat-tech-preview/jfr-datasource-rhel8 3.0.1-3, cryostat-tech-preview/cryostat-reports-rhel8 3.0.1-3, cryostat-tech-preview/cryostat-storage-rhel8 3.0.1-3, cryostat-tech-preview/cryostat-rhel8-operator 3.0.1-3, +3 morefixed: vendor fix RHSA-2024:7706
-
Red Hat NETOBSERV 1.7 for RHEL 9 network-observability/network-observability-cli-rhel9 v1.7.0-67, network-observability/network-observability-operator-bundle 1.7.0-86, network-observability/network-observability-rhel9-operator v1.7.0-67, network-observability/network-observability-ebpf-agent-rhel9 v1.7.0-67, network-observability/network-observability-console-plugin-rhel9 v1.7.0-67, network-observability/network-observability-flowlogs-pipeline-rhel9 v1.7.0-67fixed: vendor fix RHSA-2024:8014
show 6 moreshow fewer
-
Red Hat Advanced Cluster Management for Kubernetes 2.11 for RHEL 9 rhacm2/thanos-rhel9 v2.11.4-5, rhacm2/console-rhel9 v2.11.4-17, rhacm2/memcached-rhel9 v2.11.4-3, rhacm2/prometheus-rhel9 v2.11.4-3, rhacm2/acm-grafana-rhel9 v2.11.4-4, rhacm2/node-exporter-rhel9 v2.11.4-4, +37 morefixed: vendor fix RHSA-2024:11381
-
Red Hat Ansible Automation Platform 2.4 for RHEL 8 automation-controller-venv-tower 4.5.13-1.el8ap Red Hat Ansible Automation Platform 2.4 for RHEL 9 automation-controller-venv-tower 4.5.13-1.el9apfixed: vendor fix RHSA-2024:10762
-
Red Hat OpenShift Container Platform 4.18 openshift4/ose-monitoring-plugin-rhel9 v4.18.0-202504160308.p0.geb6123b.assembly.stream.el9fixed: vendor fix RHSA-2025:4019
-
Red Hat OpenShift Dev Spaces 3 devspaces/code-rhel9 3.18-6fixed: vendor fix RHSA-2025:0892
-
Red Hat RHOL 5.9 for RHEL 9 openshift-logging/fluentd-rhel9 v5.9.7-3, openshift-logging/vector-rhel9 v0.34.1-19, openshift-logging/eventrouter-rhel9 v0.4.0-301, openshift-logging/logging-loki-rhel9 v3.1.1-10, openshift-logging/loki-rhel9-operator v5.9.7-7, openshift-logging/loki-operator-bundle v5.9.7-16, +6 morefixed: vendor fix RHSA-2024:7324
-
Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-central-db-rhel8, advanced-cluster-security/rhacs-scanner-v4-rhel8, advanced-cluster-security/rhacs-scanner-v4-db-rhel8 Red Hat Ansible Automation Platform 2 automation-eda-controller Red Hat Ansible Automation Platform 2.4 for RHEL 8 receptor 1.5.1-1.el8ap, receptorctl 1.5.1-1.el8ap, ansible-core 2.15.13-1.el8ap, ansible-test 2.15.13-1.el8ap, automation-controller 4.5.13-1.el8ap, automation-controller-ui 4.5.13-1.el8ap, +3 more Red Hat Ansible Automation Platform 2.4 for RHEL 9 receptor 1.5.1-1.el9ap, receptorctl 1.5.1-1.el9ap, ansible-core 2.15.13-1.el9ap, ansible-test 2.15.13-1.el9ap, automation-controller 4.5.13-1.el9ap, automation-controller-ui 4.5.13-1.el9ap, +3 more Red Hat Integration Camel K 1 dompurify Red Hat OpenShift AI (RHOAI) odh-operator-container, odh-dashboard-containernot affected: vulnerable code not present
+3 more productsfewer
Red Hat OpenShift Container Platform 4.18 rhcos 418.94.202504170303-0, openshift4/frr-rhel9 v4.18.0-202504151633.p0.g78714ea.assembly.stream.el9, openshift4/ose-cli-rhel9 v4.18.0-202504151633.p0.geb9bc9b.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.18.0-202504151633.p0.g97471c6.assembly.stream.el9, openshift4/ose-etcd-rhel9 v4.18.0-202504151633.p0.g98b1915.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.18.0-202504160308.p0.gbf5bfee.assembly.stream.el9, +181 more Red Hat OpenShift Data Science (RHODS) rhods/odh-rhel8-operator Red Hat OpenShift Dev Spaces 3 devspaces/udi-rhel9 3.18-1, devspaces/server-rhel9 3.18-2, devspaces/traefik-rhel9 3.18-1, devspaces/configbump-rhel9 3.18-1, devspaces/dashboard-rhel9 3.18-10, devspaces/imagepuller-rhel9 3.18-1, +5 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.89% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | dompurify | <2.5.4 >=3.0.0, <3.1.3 |
2.5.4 3.1.3 |
Affected products
- cure53 DOMPurify
Classification
References
-
github.com
/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21
web, patch
-
github.com
/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebc
web, patch
-
github.com
/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-45801
advisory
-
github.com
/cure53/DOMPurify
package
Sources
- CVE List CVE-2024-45801
- GitHub Advisory GHSA-mmhx-hmjr-r674
- NVD CVE-2024-45801
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.