CVE-2025-26791 json
DOMPurify allows Cross-site Scripting (XSS)
published last yr. modified last mo. also EUVD-2025-4245 , GHSA-vhxf-7vqr-mrjg
- cvss
- 4.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).
Patch / fix
- npm dompurify 3.2.4
- Cure53 DOMPurify 3.2.4
- node-dompurify Debian 14, Debian 13 3.1.7+dfsg+~3.0.5-2
debian advisories DEBIAN-CVE-2025-26791
- ceph ceph storage 7.1 2:18.2.1-381.el8cp
- ceph ceph storage 7.1 2:18.2.1-381.el9cp
- cephadm ceph storage 7.1 2:18.2.1-381.el9cp
- librbd1 ceph storage 7.1 2:18.2.1-381.el8cp
- librbd1 ceph storage 7.1 2:18.2.1-381.el9cp
- librgw2 ceph storage 7.1 2:18.2.1-381.el8cp
- librgw2 ceph storage 7.1 2:18.2.1-381.el9cp
- rbd-nbd ceph storage 7.1 2:18.2.1-381.el8cp
red hat advisories RHSA-2026:2769
- argocd-cli openSUSE Tumbleweed 2.14.8-1.1
opensuse advisories openSUSE-SU-2025:14921-1
Is CVE-2025-26791 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-26791 updated cvss 4.5
dompurify: Mutation XSS in DOMPurify Due to Improper Template Literal Handling
-
Red Hat Cryostat 3 cryostat/cryostat-rhel9 Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-console-plugin-rhel9affected: no fix available “Fix deferred”
-
Red Hat OpenShift Serverless openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8affected: no fix available
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel9affected: no fix available “Fix deferred”
-
Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8 Red Hat build of Apicurio Registry 2 io.apicurio-apicurio-registryaffected: no fix planned “Will not fix”
-
Red Hat Ceph Storage 6 grafana Red Hat Ceph Storage 8 grafana Red Hat Ceph Storage 9 grafanaaffected: no fix available
-
Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat Enterprise Linux 10 grafanaaffected: no fix planned “Will not fix”
-
Red Hat Integration Camel K 1 io.apicurio-apicurio-registry Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9affected: no fix available
show 14 moreshow fewer
-
Red Hat OpenShift Container Platform 4 openshift4/ose-consoleaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Dev Spaces devspaces/code-rhel8 Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9, openshift-gitops-1/gitops-operator-bundleaffected: no fix available
-
Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-console-plugin-rhel9 Red Hat streams for Apache Kafka com.github.streamshub-consoleaffected: no fix available “Fix deferred”
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-gateway-server 2.5.20250312-1.el8ap Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-gateway-server 2.5.20250312-1.el9apfixed: vendor fix RHSA-2025:2518
-
Red Hat Ceph Storage 7.1 Tools ceph 18.2.1-381.el8cp, ceph 18.2.1-381.el9cp, cephadm 18.2.1-381.el9cp, librbd1 18.2.1-381.el8cp, librbd1 18.2.1-381.el9cp, librgw2 18.2.1-381.el8cp, +37 morefixed: vendor fix RHSA-2026:2769
-
Red Hat Ceph Storage 8 rhceph 1770630607fixed: vendor fix RHSA-2026:2737
-
Red Hat Ceph Storage 9 rhceph 1771399331fixed: vendor fix RHSA-2026:3406
-
Red Hat Ceph Storage 9.2 rhceph/rhceph-9-rhel10 1790843527fixed: vendor fix RHSA-2026:86618
-
Red Hat Developer Hub 1.6 rhdh 1.6.0-1745956724fixed: vendor fix RHSA-2025:7626
-
Red Hat OpenShift AI 2.16 rhoai v2.16.2-1741963152fixed: vendor fix RHSA-2025:3368
-
Red Hat OpenShift AI 2.19 rhoai v2.19.0-1743595568fixed: vendor fix RHSA-2025:3886
-
Red Hat Openshift Network Observability 1.9.3 network-observability 1.9-1751010148fixed: vendor fix RHSA-2025:10020
-
Red Hat RHOSSM 2.5 for RHEL 8 openshift-service-mesh/kiali-ossmc-rhel8 1.73.18-2fixed: vendor fix RHSA-2025:1875
-
Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-central-db-rhel8, advanced-cluster-security/rhacs-scanner-v4-rhel8, advanced-cluster-security/rhacs-scanner-v4-db-rhel8 Red Hat Ansible Automation Platform 2 automation-controller, automation-eda-controller Red Hat Ansible Automation Platform 2.5 for RHEL 8 receptor 1.5.3-2.el8ap, molecule 25.2.0-1.el8ap, receptorctl 1.5.3-2.el8ap, ansible-lint 25.1.2-1.el8ap, automation-hub 4.10.2-1.el8ap, ansible-creator 25.0.0-1.el8ap, +38 more Red Hat Ansible Automation Platform 2.5 for RHEL 9 receptor 1.5.3-2.el9ap, molecule 25.2.0-1.el9ap, receptorctl 1.5.3-2.el9ap, ansible-lint 25.1.2-1.el9ap, automation-hub 4.10.2-1.el9ap, ansible-creator 25.0.0-1.el9ap, +38 more Red Hat Ceph Storage 8 rhceph 1770630907, rhceph 1770631713, rhceph 1770631941, rhceph 1770632172, rhceph 1770632233 Red Hat Ceph Storage 9 rhceph 1771398877, rhceph 1771399022, rhceph 1771399060, rhceph 1771399158, rhceph 1771816028not affected: vulnerable code not present
+4 more productsfewer
Red Hat Ceph Storage 9.2 rhceph/alloy-rhel10 1790774976, rhceph/grafana-rhel10 1790774121, rhceph/keepalived-rhel10 1790842990, rhceph/oauth2-proxy-rhel10 1790774021, rhceph/snmp-notifier-rhel10 1790773439, rhceph/rhceph-haproxy-rhel10 1790846345 Red Hat Developer Hub 1.6 rhdh 1.6.0-1745956395, rhdh 1.6.0-1745970106 Red Hat OpenShift AI (RHOAI) rhoai/odh-codeflare-operator-rhel8 Red Hat OpenShift AI 2.16 rhoai v2.16.1-1742921168, rhoai v2.16.2-1741882429, rhoai v2.16.2-1742480582, rhoai v2.16.2-1742487039, rhoai v2.16.2-1742487199, rhoai v2.16.2-1742487225, +21 more
6 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- ensy.zip https://ensy.zip/posts/dompurify-323-bypass/ referenced PoC, tagged "exploit" by a source, unverified
- nsysean.github.io https://nsysean.github.io/posts/dompurify-323-bypass/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.5 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 4.5 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | dompurify | <3.2.4 |
3.2.4 |
Affected products
- Cure53 DOMPurify
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02
web, patch
-
ensy.zip
/posts/dompurify-323-bypass/
exploit, third-party-advisory
-
nsysean.github.io
/posts/dompurify-323-bypass/
exploit, third-party-advisory
-
github.com
/cure53/DOMPurify/releases/tag/3.2.4
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2025-26791
advisory
-
ensy.zip
/posts/dompurify-323-bypass
web
-
github.com
/cure53/DOMPurify
package
-
nsysean.github.io
/posts/dompurify-323-bypass
web
Sources
- CVE List CVE-2025-26791
- GitHub Advisory GHSA-vhxf-7vqr-mrjg
- NVD CVE-2025-26791
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.