CVE-2026-65902
Vulnerability Summary
Timeline
Description
DOMPurify before 3.4.7 (affected versions <= 3.4.5) 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.
CVSS Metrics
- v4.0•MEDIUM•Score: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
- v4.0•MEDIUM•Score: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- v3.1•MEDIUM•Score: 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Trends
Current EPSS score: 0.24%• Percentile: 15%
Techniques & Countermeasures
- CWE-501•Trust Boundary Violation
The product mixes trusted and untrusted data in the same data structure or structured message.
Affected Systems
- chainguard•airflow-2
all
- chainguard•airflow-core-2
all
- chainguard•gitlab-rails-ce-18.1
all
- chainguard•gitlab-rails-ce-18.10
all
- chainguard•gitlab-rails-ce-18.11
all
- chainguard•gitlab-rails-ce-18.5
all
- chainguard•gitlab-rails-ce-18.6
all
- chainguard•gitlab-rails-ce-18.7
all
- chainguard•gitlab-rails-ce-18.8
all
- chainguard•gitlab-rails-ce-18.9
all
- chainguard•gitlab-rails-ce-19.0
all
- chainguard•gitlab-rails-ce-19.1
all | < 19.1.7-r6
- chainguard•gitlab-rails-ce-fips-18.1
all
- chainguard•gitlab-rails-ce-fips-18.10
all
- chainguard•gitlab-rails-ce-fips-18.11
all
- chainguard•gitlab-rails-ce-fips-18.5
all
- chainguard•gitlab-rails-ce-fips-18.6
all
- chainguard•gitlab-rails-ce-fips-18.7
all
- chainguard•gitlab-rails-ce-fips-18.8
all
- chainguard•gitlab-rails-ce-fips-18.9
all
- chainguard•gitlab-rails-ce-fips-19.0
all
- chainguard•gitlab-rails-ce-fips-19.1
all | < 19.1.7-r7
- chainguard•kibana-9.4
< 9.4.2-r6
- chainguard•kibana-9.4-iamguarded
< 9.4.2-r6
- chainguard•langfuse-3-compat
< 3.225.7-r6
- chainguard•langfuse-3-worker
< 3.191.0-r0
- chainguard•langfuse-fips-3-worker
< 3.192.0-r0
- chainguard•librechat
< 0.8.7-r1
- chainguard•nextcloud-server-31
all
- chainguard•nextcloud-server-32
< 32.0.12-r0
- chainguard•nextcloud-server-33
< 33.0.6-r0
- chainguard•nextcloud-server-34
< 34.0.1-r4
- chainguard•wazuh-dashboard
< 4.14.5-r7
- chainguard•wazuh-dashboard-alerting-dashboards-plugin
< 4.14.5-r7
- chainguard•wazuh-dashboard-alerting-dashboards-plugin-fips
< 4.14.5-r7
- chainguard•wazuh-dashboard-anomaly-detection-dashboards-plugin
< 4.14.5-r7
- chainguard•wazuh-dashboard-anomaly-detection-dashboards-plugin-fips
< 4.14.5-r7
- chainguard•wazuh-dashboard-dashboards-maps
< 4.14.5-r7
- chainguard•wazuh-dashboard-dashboards-maps-fips
< 4.14.5-r7
- chainguard•wazuh-dashboard-dashboards-notifications
< 4.14.5-r7
- chainguard•wazuh-dashboard-dashboards-notifications-fips
< 4.14.5-r7
- chainguard•wazuh-dashboard-dashboards-reporting
< 4.14.5-r7
- chainguard•wazuh-dashboard-dashboards-reporting-fips
< 4.14.5-r7
- chainguard•wazuh-dashboard-dashboards-visualizations
< 4.14.5-r7
- chainguard•wazuh-dashboard-dashboards-visualizations-fips
< 4.14.5-r7
- chainguard•wazuh-dashboard-fips
< 4.14.5-r7
- chainguard•wazuh-dashboard-index-management-dashboards-plugin
< 4.14.5-r7
- chainguard•wazuh-dashboard-index-management-dashboards-plugin-fips
< 4.14.5-r7
- chainguard•wazuh-dashboard-plugins
< 4.14.5-r7
- chainguard•wazuh-dashboard-plugins-fips
< 4.14.5-r7
Showing first 50 affected entries in server-rendered view.
References (9)
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-76mc-f452-cxcm
- https://github.com/cure53/DOMPurify/commit/7996f1dc78eb8b7922388aed75d94a9f8fad9a36
- https://www.vulncheck.com/advisories/dompurify-before-hook-mutation-pollution-via-allowedtags
- https://ubuntu.com/security/CVE-2026-65902
- https://www.cve.org/CVERecord?id=CVE-2026-65902
- https://security-tracker.debian.org/tracker/CVE-2026-65902
- https://github.com/cure53/DOMPurify
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65902.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-65902