Vulnerability · Published Oct 31, 2024 · Assigned by GitHub_M

CVE-2024-48910DOMPurify vulnerable to tampering by prototype polution

Critical 9.1

In plain English

A critical-severity prototype pollution in DOMPurify from cure53. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)1.2%top 32.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify was vulnerable to prototype pollution. This vulnerability is fixed in 2.4.2.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12cacti1.2.24+ds1-1+deb12u2DEBIAN-CVE-2024-48910
Debian:13cacti1.2.26+ds1-1DEBIAN-CVE-2024-48910
Debian:14cacti1.2.26+ds1-1DEBIAN-CVE-2024-48910
Debian:12node-dompurify2.4.1+dfsg+~2.4.0-2+deb12u1DEBIAN-CVE-2024-48910
Debian:13node-dompurify3.0.9+dfsg+~3.0.5-1DEBIAN-CVE-2024-48910
Debian:14node-dompurify3.0.9+dfsg+~3.0.5-1DEBIAN-CVE-2024-48910
Ubuntu:22.04:LTSnode-dompurifyno fix listedUBUNTU-CVE-2024-48910
npmdompurify2.4.2GHSA-p3vf-v8qc-cwcr

Affected products (as reported)

VendorProductVersions
cure53 DOMPurify < 2.4.2

Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References