CVE-2026-65900
Vulnerability Summary
Timeline
Description
DOMPurify versions >=3.0.0 and before 3.4.8, when configured with SAFE_FOR_TEMPLATES together with a DOM output mode (RETURN_DOM, RETURN_DOM_FRAGMENT, or IN_PLACE), fail to strip template expressions (e.g. ${evil}, {{evil}}, <%evil%>) inside <template> element content. The final normalization/scrub pass (_scrubTemplateExpressions) uses a NodeIterator and node.normalize() that do not descend into template.content, so expressions that only form after adjacent text nodes merge survive sanitization. This bypasses SAFE_FOR_TEMPLATES and can allow a downstream template engine to evaluate attacker-supplied expressions. The string output path is not affected.
CVSS Metrics
- v4.0•MEDIUM•Score: 5.1CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- v4.0•MEDIUM•Score: 5.1CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/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
- v4.0•MEDIUM•Score: 5.1CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P
- 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.21%• Percentile: 11%
Techniques & Countermeasures
- CWE-79•Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
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 (8)
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-gvmj-g25r-r7wr
- https://www.vulncheck.com/advisories/dompurify-before-template-expression-injection-via-return-dom
- https://ubuntu.com/security/CVE-2026-65900
- https://www.cve.org/CVERecord?id=CVE-2026-65900
- https://security-tracker.debian.org/tracker/CVE-2026-65900
- https://github.com/cure53/DOMPurify
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65900.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-65900