Skip to content
OpenAdvisories
Critical · 10.0 Public exploit CVE-2024-47875 EUVD-2024-3049GHSA-gx9m-whjm-85jf

DOMPurify nesting-based mXSS

Published Oct 11, 2024 · Updated Nov 3, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
cure53 DOMPurify < 2.5.0, < 3.1.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cacti 1.2.26+ds1-1 —
Debian 14 node-dompurify 3.1.6+dfsg+~3.0.5-1 —
Debian 13 cacti 1.2.26+ds1-1 —
Debian 13 node-dompurify 3.1.6+dfsg+~3.0.5-1 —
Debian 12 cacti 1.2.24+ds1-1+deb12u2 —
Debian 12 node-dompurify 2.4.1+dfsg+~2.4.0-2 DSA-5790-1
Debian 11 cacti 1.2.16+ds1-2+deb11u5 DLA-4048-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-dompurify No fix yet —
Ubuntu 26.04 LTS node-dompurify No fix yet —
Ubuntu 25.10 node-dompurify No fix yet —
Ubuntu 24.04 LTS node-dompurify No fix yet —
Ubuntu 22.04 LTS node-dompurify No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 grafana +1 9.2.10-19.el9_4 RHSA-2024:9473, RHSA-2024:8678
RHEL 8 grafana +1 9.2.10-20.el8_10 RHSA-2024:8327

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 grafana +1 9.2.10-19.el9_4 ALSA-2024:9473, ALSA-2024:8678
AlmaLinux 8 grafana +1 9.2.10-20.el8_10 ALSA-2024:8327

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 grafana 9.2.10-19.el9_4 RLSA-2024:9473, RLSA-2024:8678
Rocky Linux 8 grafana 9.2.10-20.el8_10 RLSA-2024:8327
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed velociraptor 0.7.0.4.git142.862ef23-1.1 openSUSE-SU-2025:14663-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 grafana +1 9.2.10-19.el9_4 ELSA-2024-9473, ELSA-2024-8678
Oracle Linux 8 grafana +1 9.2.10-20.el8_10 ELSA-2024-8327

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling argo-workflows 3.6.0-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm dompurify < 2.5.0 2.5.0 GHSA-gx9m-whjm-85jf
npm dompurify >= 3.0.0, < 3.1.3 3.1.3 GHSA-gx9m-whjm-85jf

Advisories 26

References