Skip to content

CVE-2024-47875 DOMPurify nesting-based mXSS

MediumCVSS 6.1 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to nesting-based mXSS. This vulnerability is fixed in 2.5.0 and 3.1.3.

Upgrade path

12 packages: 8 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/node-dompurify(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-dompurify(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/node-dompurify(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/node-dompurify(Ubuntu 26.10) All versions No fix listed No fix yet
cure53 DOMPurify < 2.5.0; = < 2.5.0; = < 3.1.3; >= 3.0.0, < 3.1.3 2.5.0, 3.1.3 Fixed
debian/cacti(Debian 12) < 1.2.24+ds1-1+deb12u2; = 1.2.24+ds1-1; = 1.2.24+ds1-1+deb12u1 1.2.24+ds1-1+deb12u2 Fixed
debian/cacti(Debian 13) < 1.2.26+ds1-1 1.2.26+ds1-1 Fixed
debian/cacti(Debian 14) < 1.2.26+ds1-1 1.2.26+ds1-1 Fixed
debian/node-dompurify(Debian 12) < 2.4.1+dfsg+~2.4.0-2; = 2.4.1+dfsg+~2.4.0-1 2.4.1+dfsg+~2.4.0-2 Fixed
debian/node-dompurify(Debian 13) < 3.1.6+dfsg+~3.0.5-1 3.1.6+dfsg+~3.0.5-1 Fixed
debian/node-dompurify(Debian 14) < 3.1.6+dfsg+~3.0.5-1 3.1.6+dfsg+~3.0.5-1 Fixed
npm dompurify(npm) < 2.5.0; >= 3.0.0, < 3.1.3 2.5.0, 3.1.3 Fixed

Affected products

ProductAffected versionsFixed in
debian/cacti(Debian:12) < 1.2.24+ds1-1+deb12u2 1.2.24+ds1-1+deb12u2
debian/cacti(Debian:12) = 1.2.24+ds1-1 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u1 No fix listed
debian/cacti(Debian:13) < 1.2.26+ds1-1 1.2.26+ds1-1
debian/cacti(Debian:14) < 1.2.26+ds1-1 1.2.26+ds1-1
debian/node-dompurify(Debian:12) < 2.4.1+dfsg+~2.4.0-2 2.4.1+dfsg+~2.4.0-2
debian/node-dompurify(Debian:12) = 2.4.1+dfsg+~2.4.0-1 No fix listed
debian/node-dompurify(Debian:13) < 3.1.6+dfsg+~3.0.5-1 3.1.6+dfsg+~3.0.5-1
debian/node-dompurify(Debian:14) < 3.1.6+dfsg+~3.0.5-1 3.1.6+dfsg+~3.0.5-1
npm dompurify(npm) < 2.5.0 2.5.0
npm dompurify(npm) >= 3.0.0, < 3.1.3 3.1.3
ubuntu/node-dompurify(Ubuntu:22.04) All versions No fix listed
cure53 DOMPurify = < 2.5.0 No fix listed
cure53 DOMPurify = < 3.1.3 No fix listed
ubuntu/node-dompurify(Ubuntu:24.04) All versions No fix listed
cure53 DOMPurify < 2.5.0 2.5.0
cure53 DOMPurify >= 3.0.0, < 3.1.3 3.1.3
ubuntu/node-dompurify(Ubuntu:26.04) All versions No fix listed
ubuntu/node-dompurify(Ubuntu:26.10) All versions No fix listed

References