CVE-2026-106444
MEDIUM 4.7Handlebars 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.
No known exploitation, public exploit, or elevated probability at this time. Track for changes.
Exploitation likelihood
0.3%chance of exploitation in 30 days · 21st percentile
Impact if exploited
4.7CVSS 3.1 · MEDIUM
- ConfidentialityLow
- IntegrityLow
- AvailabilityNone
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ⚠User interaction: A user must take an action (click / open a file)
- ⚠Complexity: Needs a race window or specific setup
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-116: : Improper Encoding or Escaping of Output
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
References and research data (JSON)
Packages and version ranges
Each advisory describes its own package and affected ranges. A boundary applies to that range; it is not a universal upgrade recommendation.
handlebars npm
pkg:npm/handlebars
SEMVER range- Introduced version (included): 4.0.0
- Fixed boundary (excluded): 4.7.10
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7 · Updated 2026-10-08T18:00:09.713255773ZAdditional upstream package constraints
{ "database": { "last_known_affected_version_range": "<= 4.7.9", "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-xw65-4hp5-5hc7/GHSA-xw65-4hp5-5hc7.json" } }
Vendor product assessments
dotnet8.0.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: component not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00grafana12.4.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: component not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00grafana13.1.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: component not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00grafana13.2.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: component not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00jaeger.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: component not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00opentelemetry-collector-contrib.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: component not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00opentelemetry-collector-k8s.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: component not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00opentelemetry-collector.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: component not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00prometheus3.13.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: component not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00yarnpkg.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: component not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00
All CVSS metrics
- MEDIUM 4.7 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - MEDIUM 4.7 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
References
Exploit-tagged references (not proof of a PoC)
- https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-xw65-4hp5-5hc7 CVE record · GitHub_M · Updated 2026-10-06T19:01:14.626Z
CVE record · CISA-ADP · Updated 2026-10-06T19:48:02.050Z
NVD · CVE-2026-106444 · Updated 2026-10-07T13:58:29.527
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7 · Updated 2026-10-08T18:00:09.713255773Z
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00
Advisories
- https://osv.dev/vulnerability/GHSA-xw65-4hp5-5hc7 GitHub Advisory Database · GHSA-xw65-4hp5-5hc7
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7 · Updated 2026-10-08T18:00:09.713255773Z - https://nvd.nist.gov/vuln/detail/CVE-2026-106444 GitHub Advisory Database · GHSA-xw65-4hp5-5hc7
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7 · Updated 2026-10-08T18:00:09.713255773Z
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00 - https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-106444.json Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-93974 EUVD · EUVD-2026-93974
Technical & other
- https://github.com/handlebars-lang/handlebars.js/pull/2185 CVE record · GitHub_M · Updated 2026-10-06T19:01:14.626Z
NVD · CVE-2026-106444 · Updated 2026-10-07T13:58:29.527
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7 · Updated 2026-10-08T18:00:09.713255773Z
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00 - https://github.com/handlebars-lang/handlebars.js/commit/609d1b11c833c9a3e00f56f2f34d22f425446725 CVE record · GitHub_M · Updated 2026-10-06T19:01:14.626Z
NVD · CVE-2026-106444 · Updated 2026-10-07T13:58:29.527
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7 · Updated 2026-10-08T18:00:09.713255773Z
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00 - https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10 CVE record · GitHub_M · Updated 2026-10-06T19:01:14.626Z
NVD · CVE-2026-106444 · Updated 2026-10-07T13:58:29.527
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7 · Updated 2026-10-08T18:00:09.713255773Z
Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00 - https://github.com/handlebars-lang/handlebars.js GitHub Advisory Database · GHSA-xw65-4hp5-5hc7
GitHub Advisory Database · GHSA-xw65-4hp5-5hc7 · Updated 2026-10-08T18:00:09.713255773Z - https://access.redhat.com/security/cve/CVE-2026-106444 Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2547089 Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00
- https://www.cve.org/CVERecord?id=CVE-2026-106444 Red Hat · CVE-2026-106444 · Updated 2026-10-15T23:33:39+00:00