CVSS 3.1
4.7 mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (4.7) in handlebars-lang handlebars.js. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in handlebars 4.7.10.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:Nhandlebars (npm): fixed in 4.7.10Explain CVE-2026-106444 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-106444?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-106444?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-106444 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| handlebars-lang handlebars.js | >= 4.0.0, < 4.7.10 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-xw65-4hp5-5hc7 | npm | handlebars | >=4.0.0 <4.7.10 | 4.7.10 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | node-handlebars | no fix listed | DEBIAN-CVE-2026-106444 |
| Debian | 14 | node-handlebars | 3:4.7.10-1 | DEBIAN-CVE-2026-106444 |
| Ubuntu | 16.04:LTS | ruby-handlebars-assets | no fix listed | UBUNTU-CVE-2026-106444 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS and 2 more | node-handlebars | no fix listed | UBUNTU-CVE-2026-106444 |
| Ubuntu | 24.04:LTS | node-handlebars, ruby-handlebars-assets | no fix listed | UBUNTU-CVE-2026-106444 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
A moderate severity cross-site scripting (XSS) flaw was found in the Handlebars JavaScript template library. When serializing static template text into generated JavaScript, Handlebars.precompile() does not escape sequences that terminate an enclosing HTML script element. An application that precompiles attacker-controlled template text and embeds the generated source directly in an inline HTML script element can be attacked by a template containing a closing script tag delimiter: the enclosing script element is terminated early, and the attacker-controlled markup that follows is parsed and executed in the victim's browser session. Exploitation requires this specific usage pattern together with user interaction; ordinary server-side rendering of Handlebars templates, and precompiled templates delivered as external JavaScript files, are not affected. Red Hat rates this flaw Moderate impact (CVSS 4.7, CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N), consistent with the upstream rating. Within the Red Hat portfolio, this flaw is tracked against components of the hummingbird-1 update stream (Red Hat Hardened Images), where the Handlebars npm package appears as a dependency in component sources. These affects are delegated to the Hummingbird business unit, whose assessment resolved them as not affected because the vulnerable component is not present.
This flaw can be avoided without upgrading: do not embed precompiled output from untrusted or attacker-controlled Handlebars templates directly in inline HTML script elements. Where practical, serve generated precompiled templates as external JavaScript files, or rely on ordinary server-side rendering, since those usage patterns are not affected. Restricting template precompilation to trusted template sources also prevents attacker-controlled template text from reaching Handlebars.precompile(). Updating Handlebars to the upstream fixed version (4.7.10) also resolves this issue.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | dotnet8.0 | Not affected | |
| Red Hat Hardened Images | grafana12.4 | Not affected | |
| Red Hat Hardened Images | grafana13.1 | Not affected | |
| Red Hat Hardened Images | grafana13.2 | Not affected | |
| Red Hat Hardened Images | jaeger | Not affected | |
| Red Hat Hardened Images | opentelemetry-collector | Not affected | |
| Red Hat Hardened Images | opentelemetry-collector-contrib | Not affected | |
| Red Hat Hardened Images | opentelemetry-collector-k8s | Not affected | |
| Red Hat Hardened Images | prometheus3.13 | Not affected | |
| Red Hat Hardened Images | yarnpkg | Not affected |
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-106444.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.