npm package

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

handlebars 3.0.8 has 4 known vulnerabilities (3 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
4
3 rated high or critical
Released
Feb 23, 2020
Latest is 4.7.10
Downloads last week
26.7K
Under 1% of handlebars downloads
Licence
MIT
Pulls in
22 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 4 known vulnerabilities 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 3.0.8

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-2021-23369 on OSV.dev (opens in a new tab)GHSA-f2jv-r9rf-7988EPSS: top 6%

    Remote code execution in handlebars when compiling templates

    Fixed in 4.7.7. Published May 6, 2021.

  2. CriticalCVE-2021-23383 on OSV.dev (opens in a new tab)GHSA-765h-qjxv-5f44EPSS: top 9%

    Prototype Pollution in handlebars

    Fixed in 4.7.7. Published Feb 10, 2022.

  3. WarningCVE-2015-8861 on OSV.dev (opens in a new tab)GHSA-9prh-257w-9277EPSS: top 15%

    Cross-Site Scripting in handlebars

    Fixed in 4.0.0. Published Oct 23, 2018.

  4. 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.

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 3.0.8, 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.