CVE catalog

CVE-2026-106444

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 stati

[CVE catalog]

Severity
Medium · CVSS 4.7CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 25, 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-handlebarssid3:4.7.10-1fixed
Debiannode-handlebarsforky3:4.7.10-1fixed
Debiannode-handlebarstrixie3:4.7.7+~4.1.0-1vulnerable
Debiannode-handlebarsbookworm3:4.7.7+~4.1.0-1vulnerable
NpmhandlebarsNot reported4.7.10fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-handlebarssourcesid3:4.7.10-1not yet assignedNot reported[1150246]
Debiannode-handlebarssourceforky3:4.7.10-1not yet assignedNot reported[1150246]
Debiannode-handlebarssourcetrixie(unfixed)not yet assignedNot reported[1150246]
Debiannode-handlebarssourcebookworm(unfixed)not yet assignedNot reported[1150246]
NpmhandlebarsnpmNot reported4.7.10Not reportedGHSA-XW65-4HP5-5HC7Not reported

[Debian bug #1150246]

Notes

[trixie] node-handlebars: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [handlebars]Affected

    Source package: [node-handlebars]

    Details (2)
    • 3:4.7.7+~4.1.0-1 · all · bookworm

      Affected

      nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12

    • 3:4.7.7+~4.1.0-1 · all · bookworm

      Affected

      nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12

  • Source package: [node-handlebars]

    Details (2)
    • 3:4.7.7+~4.1.0-1 · all · bookworm

      Affected

      nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12

    • 3:4.7.7+~4.1.0-1 · all · bookworm

      Affected

      nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12

  • Source package: [node-handlebars]

    Details (2)
    • 3:4.7.7+~4.1.0-1 · all · bookworm

      Affected

      nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12

    • 3:4.7.7+~4.1.0-1 · all · bookworm

      Affected

      nvd · node-handlebars · debian · bookworm; nvd · node-handlebars · debian · 12

[Debian 13 (Trixie)]

  • [handlebars]Affected

    Source package: [node-handlebars]

    Details (2)
    • 3:4.7.7+~4.1.0-1 · all · trixie

      Affected

      nvd · node-handlebars · debian · 13

    • 3:4.7.7+~4.1.0-1 · all · trixie

      Affected

      nvd · node-handlebars · debian · 13

  • Source package: [node-handlebars]

    Details (2)
    • 3:4.7.7+~4.1.0-1 · all · trixie

      Affected

      nvd · node-handlebars · debian · 13

    • 3:4.7.7+~4.1.0-1 · all · trixie

      Affected

      nvd · node-handlebars · debian · 13

  • Source package: [node-handlebars]

    Details (2)
    • 3:4.7.7+~4.1.0-1 · all · trixie

      Affected

      nvd · node-handlebars · debian · 13

    • 3:4.7.7+~4.1.0-1 · all · trixie

      Affected

      nvd · node-handlebars · debian · 13

Observed:

References