Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cure53 | DOMPurify | < 2.5.4, >=3.0.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 12 | node-dompurify | 2.4.1+dfsg+~2.4.0-2+deb12u1 | — |
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 |
|---|---|---|---|
| Red Hat Ansible Automation Platform Inside 2 | ansible-core | 1:2.15.13-1.el8ap | RHSA-2024:10762 |
| Red Hat Ansible Automation Platform Developer 2 | ansible-core | 1:2.15.13-1.el8ap | RHSA-2024:10762 |
| Red Hat Ansible Automation Platform 2 | ansible-core | 1:2.15.13-1.el8ap | RHSA-2024:10762 |
| Red Hat Ansible Automation Platform 2 | automation-controller-venv-tower | 4.5.13-1.el8ap | RHSA-2024:10762 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | argo-workflows | 3.6.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | dompurify | < 2.5.4 | 2.5.4 | GHSA-mmhx-hmjr-r674 |
| npm | dompurify | >= 3.0.0, < 3.1.3 | 3.1.3 | GHSA-mmhx-hmjr-r674 |
Advisories 15
- RHSA-2024:10762 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- WID-SEC-2026-1229 Atlassian Bamboo, Bitbucket, Confluence, Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 2, 2026
- WID-SEC-2026-1608 Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye und Jira): Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 19, 2026
- WID-SEC-2025-0647 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 9, 2026
- WID-SEC-2026-0177 Atlassian Bamboo, Bitbucket, Confluence und Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 18, 2026
- WID-SEC-2024-3507 Atlassian Jira Software: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 17, 2026
- WID-SEC-2024-3089 Red Hat Enterprise Linux (Cryostat): Mehrere Schwachstellen ermöglichen Cross-Site Scripting BSI CERT-Bund (WID) · Mar 15, 2026
- WID-SEC-2024-3250 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 8, 2026
- NCSC-2026-0034 Kwetsbaarheden verholpen in Atlassian producten NCSC-NL (Netherlands) · Jan 22, 2026
- 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
- WID-SEC-2024-3733 Red Hat Advanced Cluster Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 4, 2025
- WID-SEC-2025-0161 Oracle Utilities Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 21, 2025
- NCSC-2024-0466 Kwetsbaarheden verholpen in Atlassian producten NCSC-NL (Netherlands) · Dec 6, 2024
- NCSC-2024-0411 Kwetsbaarheden verholpen in Oracle Database producten NCSC-NL (Netherlands) · Oct 17, 2024