CVE-2026-106444
Reported by GitHub_M · Published October 6, 2026
Handlebars provides the power necessary to let users build semantic templates. From 4.0.0 until 4.7.10, Handlebars.precompile() uses quotedString() in lib/handlebars/compiler/code-gen.js to emit static template text into generated JavaScript without escaping sequences that terminate an enclosing HTML script element. When an application precompiles attacker-controlled template text and embeds the generated source directly in an inline script element, a closing script delimiter can end the element and cause following attacker-controlled markup to be parsed and executed. Ordinary server-side rendering and precompiled templates served as external JavaScript files are not affected. This issue is fixed in version 4.7.10.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| handlebars-lang | handlebars.js | >= 4.0.0, < 4.7.10 |
| chainguard | opensearch-dashboards-3-fips | 0 |
| chainguard | kibana-9.5 | 0 |
| chainguard | nextcloud-server-33 | 0 |
| chainguard | verdaccio | 0 |
| chainguard | gitlab-rails-ce-fips-19.5 | * |
| chainguard | tileserver-gl | 0 |
| chainguard | kibana-9.4 | 0 |
| chainguard | librechat | 0 |
| chainguard | langfuse-fips-4 | 0 |
| chainguard | prism | 0 |
| chainguard | opensearch-dashboards-3 | 0 |
| wolfi | renovate | 0 |
| chainguard | gitlab-rails-ce-fips-19.4 | * |
| wolfi | lerna | 0 |
| npm | handlebars | 4.0.0 |
| wolfi | tileserver-gl | 0 |
| chainguard | opensearch-dashboards-2-fips | 0 |
| chainguard | pelias-api | 0 |
| chainguard | ts-patch | 0 |
…and 16 more
Timeline
- Oct 6, 2026 Coalition ESS Score
- Oct 6, 2026 CVE Published
- Oct 6, 2026 CVE Updated
- Oct 7, 2026 EPSS Score
- Oct 9, 2026 Security Advisory
- Oct 11, 2026 EPSS Score
- Oct 13, 2026 EPSS Score
- Oct 15, 2026 EPSS Score
- Oct 19, 2026 EPSS Score
- Oct 21, 2026 EPSS Score
- Oct 24, 2026 EPSS Score
- Oct 25, 2026 EPSS Score
References
- https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-xw65-4hp5-5hc7 x_refsource_CONFIRM
- https://github.com/handlebars-lang/handlebars.js/pull/2185 x_refsource_MISC
- https://github.com/handlebars-lang/handlebars.js/commit/609d1b11c833c9a3e00f56f2f34d22f425446725 x_refsource_MISC
- https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-106444 advisory
- https://github.com/advisories/GHSA-xw65-4hp5-5hc7 advisory