CVE-2026-65900
published medium CVSS 4.0 · 5.1DOMPurify before 3.4.8 Template Expression Injection via RETURN_DOM
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cure53 | — | DOMPurify3.0.0 to < 3.4.8 (affected · semver) · 3.4.8 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-comfyui-frontend-packageaarch64 | Advisory build | 1.52.7-1.1 | OPENSUSE-SU-2026:11723-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-comfyui-frontend-packageppc64le | Advisory build | 1.52.7-1.1 | OPENSUSE-SU-2026:11723-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-comfyui-frontend-packages390x | Advisory build | 1.52.7-1.1 | OPENSUSE-SU-2026:11723-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-comfyui-frontend-packagex86_64 | Advisory build | 1.52.7-1.1 | OPENSUSE-SU-2026:11723-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-comfyui-frontend-packageaarch64 | Advisory build | 1.52.7-1.1 | OPENSUSE-SU-2026:11723-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-comfyui-frontend-packageppc64le | Advisory build | 1.52.7-1.1 | OPENSUSE-SU-2026:11723-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-comfyui-frontend-packages390x | Advisory build | 1.52.7-1.1 | OPENSUSE-SU-2026:11723-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-comfyui-frontend-packagex86_64 | Advisory build | 1.52.7-1.1 | OPENSUSE-SU-2026:11723-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptoraarch64 | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorppc64le | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptors390x | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorx86_64 | Advisory build | 0.77.3.0.git141.b1612b50b-1.1 | OPENSUSE-SU-2026:12622-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cure53 | DOMPurify | 3.0.0 to < 3.4.8 (affected · semver)3.4.8 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2- GitHub Security Advisory (GHSA-gvmj-g25r-r7wr) https://github.com/cure53/DOMPurify/security/advisories/GHSA-gvmj-g25r-r7wr
- VulnCheck Advisory: DOMPurify before 3.4.8 Template Expression Injection via RETURN_DOM https://www.vulncheck.com/advisories/dompurify-before-template-expression-injection-via-return-dom
Provider assertions
2VulnCheck · cna
DOMPurify before 3.4.8 Template Expression Injection via RETURN_DOM
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ea3c1a0f182f78efcadd476cf2297e45187a64e0b29481e4d4c585ff3d0299fb
- Ingested
- 23 Sep 2026, 09:26:32 UTC
- Source record
- Official CVE record