cve.bz

CVE-2026-65902 cure53 dompurify: Trust Boundary Violation

5.3 mediumExploit referenceEPSS 0.4%Fix available

Medium (5.3) in cure53 dompurify. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in dompurify 3.4.7.

On this page
DOMPurify before 3.4.7 passes direct references to the module-level DEFAULT_ALLOWED_TAGS and DEFAULT_ALLOWED_ATTR sets to the uponSanitizeElement and uponSanitizeAttribute hooks via data.allowedTags / data.allowedAttributes when sanitize is called without an explicit cfg.ALLOWED_TAGS / cfg.ALLOWED_ATTR array. A hook that mutates these fields permanently widens the default allow-lists for the lifetime of the DOMPurify instance, so all subsequent default-config sanitize calls inherit the widened defaults and attacker payloads using the poisoned tag/attribute name survive sanitization. removeAllHooks(), clearConfig(), and passing a fresh cfg do not recover the state; only constructing a new DOMPurify instance does.

Severity

CVSS 4.0

5.3 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-07-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-501 Trust Boundary Violation
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-65902 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-65902?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-65902?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-65902 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cure53 DOMPurifybefore 3.4.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-76mc-f452-cxcmnpmdompurify<3.4.73.4.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-dompurifyno fix listedDEBIAN-CVE-2026-65902
Debian14node-dompurify3.4.12+dfsg-1DEBIAN-CVE-2026-65902
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTSnode-dompurifyno fix listedUBUNTU-CVE-2026-65902
Red Hathummingbird:1grafana12.40:12.4.8-0.1.2.hum1RHSA-2026:58500
Red Hathummingbird:1grafana13.10:13.1.3-0.1.3.hum1RHSA-2026:58502

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw in DOMPurify allows an attacker to bypass sanitization by manipulating internal hooks, leading to potential cross-site scripting (XSS) vulnerabilities. The issue permanently alters the default allow-lists for the DOMPurify instance when default configurations are used. Red Hat products, including Red Hat Hardened Images, are not affected by this vulnerability.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Hardened Imagesgrafana12-4-main-12.4.8-0.1.2.hum1Fixed 2026-08-22RHSA-2026:58500
Red Hat Hardened Imagesgrafana13-1-main-13.1.3-0.1.3.hum1Fixed 2026-08-22RHSA-2026:58502
Ansible Automation Orchestrator 2026ansible-automation-platform/automation-orchestrator-ui-rhel9Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Fix deferred
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Fix deferred
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleFix deferred
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorFix deferred
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-console-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-419-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-pf5-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/kiali-ossmc-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel8Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-rhel9Fix deferred
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-main-rhel8Fix deferred
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-main-rhel9Fix deferred
Red Hat AMQ Broker 7amq-broker-bin.zipFix deferred
55 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-65902.

References

Check your stackJSON