npm package

handlebars 4.7.9 vulnerabilities, and the version that fixes all of them

handlebars 4.7.9 has 3 known vulnerabilities (2 rated high or critical); 4.7.10 fixes all of them.

npm (opens in a new tab) describes it as “Handlebars provides the power necessary to let you build semantic templates effectively with no frustration”

Known vulnerabilities
3
2 rated high or critical
Released
Mar 26, 2026
Latest is 4.7.10
Downloads last week
23.5M
54% of handlebars downloads
Licence
MIT
Pulls in
5 packages
Resolved by deps.dev

What to upgrade to

4.7.10 is the closest release with no known vulnerabilities.

  • 4.7.10Upgrade to this

    Fixes all 3 known vulnerabilities and the newest 4.x release and the latest release. Released Oct 5, 2026.

    No known vulnerabilities

4.7.10 came out on Oct 5, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for handlebars 4.7.9

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. CriticalCVE-2026-106446 on OSV.dev (opens in a new tab)GHSA-8r5x-fm3f-whwjEPSS: top 51%

    Handlebars: JavaScript Injection via AST Type Confusion in compile (bypass of CVE-2026-33937)

    Fixed in 4.7.10. Published Oct 8, 2026.

  2. CriticalCVE-2026-106445 on OSV.dev (opens in a new tab)GHSA-p8wg-vrv2-v86fEPSS: top 67%

    Handlebars: JavaScript Injection via Own Property Check Bypass

    Fixed in 4.7.10. Published Oct 8, 2026.

  3. WarningCVE-2026-106444 on OSV.dev (opens in a new tab)GHSA-xw65-4hp5-5hc7EPSS: top 80%

    Handlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates

    Fixed in 4.7.10. Published Oct 8, 2026.

Who is still on a vulnerable handlebars

83% of last week’s 43.4M handlebars downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is handlebars the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly handlebars 4.7.9, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.