cve.bz

CVE-2024-45801 cure53 dompurify: Prototype Pollution

6.1 mediumEPSS 0.9%Fix available

Medium (6.1) in cure53 dompurify. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in dompurify 2.5.4, 3.1.3.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-45801 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-45801?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-45801?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-45801 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cure53:dompurifybefore 2.5.4
cure53:dompurifyfrom 3.0.0 before 3.1.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mmhx-hmjr-r674npmdompurify<2.5.42.5.4
GHSA-mmhx-hmjr-r674npmdompurify>=3.0.0 <3.1.33.1.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12node-dompurify2.4.1+dfsg+~2.4.0-2+deb12u1DEBIAN-CVE-2024-45801
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morenode-dompurifyno fix listedUBUNTU-CVE-2024-45801
Red Hatansible_automation_platform:2.4::el8automation-controller-venv-tower0:4.5.13-1.el8apRHSA-2024:10762
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8ansible-core1:2.15.13-1.el8apRHSA-2024:10762
Red Hatansible_automation_platform:2.4::el9automation-controller-venv-tower0:4.5.13-1.el9apRHSA-2024:10762
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9ansible-core1:2.15.13-1.el9apRHSA-2024:10762

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The vulnerability in DOMPurify, while significant, is categorized as moderate severity rather than important due to its specific conditions for exploitation. The issue requires not only a sophisticated nesting technique to bypass the depth checks but also the ability to leverage Prototype Pollution to weaken these protections. This makes the attack scenario relatively complex and less likely to be encountered in general use cases. Furthermore, the flaw impacts only certain configurations and usage patterns, thus reducing its immediate risk.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-db-rhel8:3.0.1-3Fixed 2024-10-07RHSA-2024:7706
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-grafana-dashboard-rhel8:3.0.1-3Fixed 2024-10-07RHSA-2024:7706
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-operator-bundle:3.0.1-3Fixed 2024-10-07RHSA-2024:7706
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8:3.0.1-3Fixed 2024-10-07RHSA-2024:7706
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-reports-rhel8:3.0.1-3Fixed 2024-10-07RHSA-2024:7706
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-rhel8:3.0.1-3Fixed 2024-10-07RHSA-2024:7706
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-rhel8-operator:3.0.1-3Fixed 2024-10-07RHSA-2024:7706
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-storage-rhel8:3.0.1-3Fixed 2024-10-07RHSA-2024:7706
Cryostat 3 on RHEL 8cryostat-tech-preview/jfr-datasource-rhel8:3.0.1-3Fixed 2024-10-07RHSA-2024:7706
NETWORK-OBSERVABILITY-1.7.0-RHEL-9network-observability/network-observability-cli-rhel9:v1.7.0-67Fixed 2024-10-22RHSA-2024:8014
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Affected
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Will not fix
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel7Will not fix
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-central-db-rhel8Not affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-main-rhel8Affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-rhel8-operatorNot affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-roxctl-rhel8Not affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-scanner-v4-db-rhel8Not affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-scanner-v4-rhel8Not affected
Red Hat Ansible Automation Platform 2automation-eda-controllerNot affected
80 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-45801.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup
  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON