Live threats

All CVEs / Handlebarsjs

CVE-2021-23369Handlebarsjs Handlebars

Critical 9.8 No auth needed

Priority
75
CVSS 3.1
9.8
EPSS
7.0%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Apr 12, 2021
Updated
Oct 8, 2026
Category
Application · Cross-platform
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.

Original NVD text.

What to do

  1. Apply the vendor's security update for Handlebars.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.webjars.bowergithub.wycats:handlebars.js < 4.7.7 4.7.7 —
Maven org.webjars.npm:handlebars < 4.7.7 4.7.7 —
Maven org.webjars:handlebars < 4.7.7 4.7.7 —
npm handlebars < 4.7.7 4.7.7 npm install handlebars@4.7.7

Per OSV / GitHub Advisories (GHSA-f2jv-r9rf-7988). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
handlebarsjshandlebars< 4.7.7

Official sources

References

Links published by the sources. Open them with care.