Is handlebars 4.7 vulnerable?
npm · 11 releases from 4.7.0 to 4.7.10 · latest handlebars is 4.7.10 · checked 2 Nov 2026
No known advisories in the last release
handlebars 4.7.10, the last 4.7 release, has no known advisories. 13 advisories affect earlier 4.7.x releases, so update to 4.7.10.
npm install handlebars@4.7.10Fixed within 4.7.x, affecting earlier releases
Handlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates
- Affected
- >=4.0.0 <4.7.10
- Fixed in
- 4.7.10
Handlebars: JavaScript Injection via AST Type Confusion in compile (bypass of CVE-2026-33937)
- Affected
- >=4.0.0 <4.7.10
- Fixed in
- 4.7.10
Handlebars: JavaScript Injection via Own Property Check Bypass
- Affected
- >=3.0.0 <4.7.10
- Fixed in
- 4.7.10
Handlebars.js has a Prototype Method Access Control Gap via Missing __lookupSetter__ Blocklist Entry
- Affected
- >=4.6.0 <4.7.9
- Fixed in
- 4.7.9
Handlebars.js has a Property Access Validation Bypass in container.lookup
- Affected
- >=4.0.0 <4.7.9
- Fixed in
- 4.7.9
Handlebars.js has JavaScript Injection in CLI Precompiler via Unescaped Names and Options
- Affected
- >=4.0.0 <4.7.9
- Fixed in
- 4.7.9
Handlebars.js has JavaScript Injection via AST Type Confusion when passing an object as dynamic partial
- Affected
- >=4.0.0 <4.7.9
- Fixed in
- 4.7.9
Handlebars.js has Denial of Service via Malformed Decorator Syntax in Template Compilation
- Affected
- >=4.0.0 <4.7.9
- Fixed in
- 4.7.9
Handlebars.js has JavaScript Injection via AST Type Confusion by tampering @partial-block
- Affected
- >=4.0.0 <4.7.9
- Fixed in
- 4.7.9
Handlebars.js has JavaScript Injection via AST Type Confusion
- Affected
- >=4.0.0 <4.7.9
- Fixed in
- 4.7.9
Handlebars.js has Prototype Pollution Leading to XSS through Partial Template Injection
- Affected
- >=4.0.0 <4.7.9
- Fixed in
- 4.7.9
Prototype Pollution in handlebars
- Affected
- <4.7.7
- Fixed in
- 4.7.7
Remote code execution in handlebars when compiling templates
- Affected
- <4.7.7
- Fixed in
- 4.7.7
Which of your client projects are still on handlebars 4.7?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact handlebars version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other handlebars versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.