# CVE-2026-106444: Handlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-06 · Modified: 2026-10-06
- Aliases: UBUNTU-CVE-2026-106444, DEBIAN-CVE-2026-106444, CGA-2rw6-pw8q-6rc7, CGA-365w-49qf-jwv6, CGA-3663-3m92-w9c8, CGA-3g82-pjw4-f387, CGA-52p6-h28h-wv63, CGA-92vh-xmvw-36vg, CGA-9hwc-v4w9-v7ff, CGA-9q8f-pmgx-h3p5, CGA-cmqh-r2xh-9p7g, CGA-crxp-4hfj-6gwh, CGA-ffc6-fq9v-mrq3, CGA-h4gv-wgw5-gvhx, CGA-h8hv-xm95-f8x7, CGA-mvx3-pq85-28ff, CGA-pg4c-g92q-7xq8, CGA-pjhv-597j-xpww, CGA-wf76-4cpf-69x5, CGA-wjm5-rc56-vm74, CGA-wvcj-g6mc-x5fr, CGA-xwm9-7fm9-hmf8, GHSA-xw65-4hp5-5hc7, CGA-24qr-jcxv-wc7q, CGA-2p2c-2884-6384, CGA-2x34-3vgf-433v, CGA-3m22-5x93-6vj6, CGA-3r2w-293r-867v, CGA-47qq-569g-hggp, CGA-4ph7-vx3q-h423, CGA-4w35-jjjh-m39g, CGA-54gx-xr3f-v74c, CGA-58q2-mcph-j4vw, CGA-5gqc-gx3f-5vvf, CGA-6697-xmp8-q7w7, CGA-6pg5-5hhm-mx2w, CGA-6qqj-2v8w-m777, CGA-6rr4-rcfh-7mvm, CGA-6w82-5w48-2288, CGA-7mhq-q976-2cvp, CGA-7p4p-c3rq-w5x2, CGA-82rw-ff8v-7g5j, CGA-875q-vjhj-q4vq, CGA-8c95-w9r2-w28f, CGA-8mm7-m46f-hf6h, CGA-8rm3-xmhc-8ccc, CGA-9hjg-3jw3-5pg5, CGA-9vp3-4fh6-8jf9, CGA-9xw7-77xq-qmr5, CGA-cmcm-p9qr-cmm9, CGA-g5hx-5xxf-hcp2, CGA-gcc2-qrfj-43xr, CGA-h45p-3c76-p86f, CGA-h65v-v84q-3jqc, CGA-hcv3-gf5w-h8w6, CGA-hxpr-r4rj-qg2w, CGA-j2rx-q8qf-fmmq, CGA-jcg5-q44g-jjj6, CGA-jmrp-cww9-wmf4, CGA-jp82-m7vg-v879, CGA-jwc3-pvj2-fxwx, CGA-mgvr-9qr2-5phw, CGA-mjqq-cfmg-7x9v, CGA-mm8c-rf54-gfx7, CGA-mr59-9qf5-mgxq, CGA-p3f4-mpgf-fh3x, CGA-p686-vj32-q43q, CGA-pmgq-hpqc-mc2f, CGA-q4m2-j6r4-xhw2, CGA-q8gm-rj9f-3423, CGA-qcqw-c2fj-qj4p, CGA-qw7q-x8v2-m5vp, CGA-rvw6-9xfp-h66x, CGA-v4mx-2m7c-mg35, CGA-vq4c-g457-g355, CGA-vvp6-pppx-x738, CGA-w57p-xv46-62v7, CGA-xcgp-9grw-h282, CGA-r9r5-89m2-hmq9, CGA-v82r-96hh-6pxm, CGA-w22x-6r4w-pr2j, CGA-wcwx-c8cp-q4fh, CGA-x8q3-gpr8-82w7, CGA-258x-rj7q-6xhv, CGA-3mwq-9qr6-p238, CGA-6m95-9wjg-r656, CGA-jfh5-jc4f-2m7r, CGA-x822-9r45-xmhv, CGA-5xr5-r85f-jvqc, CGA-g9q8-hm2w-28hf
- Record: https://cvemate.com/vulnerability/CVE-2026-106444 · JSON: https://cvemate.com/vulnerability/CVE-2026-106444/json

## Description

```text
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.
```

## Signals

- CVSS: 4.7 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.334%, percentile 28.636%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 52)

- chainguard eco-jess (Chainguard): All versions (No fix recorded) \| \< 2026.10.28.40737702110001-r0
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded) \| \< 18.11.13-r0
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-assets-fips-19.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-assets-fips-19.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-assets-fips-19.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard kibana-8.19 (Chainguard): All versions (No fix recorded) \| \< 8.19.23-r3
- chainguard kibana-8.19-bitnami (Chainguard): \< 8.19.23-r3
- chainguard kibana-9.2 (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.3 (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.4 (Chainguard): All versions (No fix recorded) \| \< 9.4.7-r8
- chainguard kibana-9.5 (Chainguard): All versions (No fix recorded) \| \< 9.5.4-r7
- chainguard langfuse-4-worker (Chainguard): \< 4.56.0-r0
- chainguard langfuse-fips-4-worker (Chainguard): \< 4.49.0-r5
- chainguard lerna (Chainguard): All versions (No fix recorded) \| \< 10.0.1-r10
- chainguard librechat (Chainguard): All versions (No fix recorded) \| \< 0.8.8-r2
- chainguard nextcloud-server-32 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-xw65-4hp5-5hc7>
- <https://github.com/handlebars-lang/handlebars.js/pull/2185>
- <https://github.com/handlebars-lang/handlebars.js/commit/609d1b11c833c9a3e00f56f2f34d22f425446725>
- <https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10>
- <https://ubuntu.com/security/CVE-2026-106444>
- <https://www.cve.org/CVERecord?id=CVE-2026-106444>
- <https://security-tracker.debian.org/tracker/CVE-2026-106444>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106444.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-106444>
- <https://github.com/handlebars-lang/handlebars.js>

---

Data as of 2026-12-05T08:38:56.701Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
