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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | velociraptor | 0.7.0.4.git142.862ef23-1.1 | openSUSE-SU-2025:14663-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
GitHub 2 repositories
-
roj1py/CVE-2024-47875-PhpSpreadsheet-XSS-PoC ★ 1 · Sep 2, 2025
This is a PoC/Exploit for the CVE-2024-47875 PhpSpreadsheet XSS Vuln
-
d154573r-4v3r73d/CVE-2024-47875 ★ 0 · Sep 24, 2026
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- ALSA-2024:9473 Important: grafana security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:8678 Important: grafana security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:8327 Important: grafana security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:8678 Red Hat Security Advisory: grafana security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2024:8327 Red Hat Security Advisory: grafana security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2024:9473 Red Hat Security Advisory: grafana security update Red Hat Security Advisories (RHSA) · Oct 9, 2026
- WID-SEC-2026-1229 Atlassian Bamboo, Bitbucket, Confluence, Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 2, 2026
- WID-SEC-2025-0647 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 9, 2026
- WID-SEC-2026-1498 Pega Platform: Schwachstelle ermöglicht Cross-Site Scripting BSI CERT-Bund (WID) · May 12, 2026
- WID-SEC-2024-3338 Red Hat OpenShift: Mehrere Schwachstelle BSI CERT-Bund (WID) · Mar 15, 2026
- ICSA-26-043-03 Siemens COMOS CISA ICS & IT advisories · Mar 12, 2026
- SSA-212953 SSA-212953: Multiple Vulnerabilities in COMOS Siemens ProductCERT · Mar 10, 2026
- DSA-5790-1 node-dompurify - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4048-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-3542 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 5, 2026
- RLSA-2024:8327 Important: grafana security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2024:8678 Important: grafana security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2024:9473 Important: grafana security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2025:14663-1 velociraptor-0.7.0.4.git142.862ef23-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2026-0264 Dell EMC Unity: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 1, 2026
- NCSC-2025-0382 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Dec 9, 2025
- WID-SEC-2025-0043 IBM QRadar SIEM (Log Source Management App): Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 17, 2025
- WID-SEC-2025-0516 Camunda: Mehrere Schwachstellen ermöglichen Cross-Site Scripting BSI CERT-Bund (WID) · Mar 10, 2025
- ELSA-2024-9473 Important: grafana security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 20, 2024
- ELSA-2024-8678 Important: grafana security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 30, 2024
- ELSA-2024-8327 Important: grafana security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 22, 2024
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf
- https://github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185f
- https://github.com/cure53/DOMPurify/commit/6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7a
- https://github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.js#L2098