handlebars

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration

4.7.10Latest, 5 Oct 2026
245MDownloads, last month
0Advisories on the latest
22Advisories, all versions
MITLicence
19KStars
5.2/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Critical Handlebars: JavaScript Injection via AST Type Confusion in compile (bypass of CVE-2026-33937) CVE-2026-106446 Fixed in 4.7.10 8 Oct 2026
Critical Handlebars: JavaScript Injection via Own Property Check Bypass CVE-2026-106445 Fixed in 4.7.10 8 Oct 2026
Moderate Handlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates CVE-2026-106444 Fixed in 4.7.10 8 Oct 2026
Low Handlebars.js has a Property Access Validation Bypass in container.lookup GHSA-442j-39wm-28r2 Fixed in 4.7.9 29 Mar 2026
Moderate Handlebars.js has a Prototype Method Access Control Gap via Missing __lookupSetter__ Blocklist Entry GHSA-7rx3-28cr-v5wh Fixed in 4.7.9 29 Mar 2026
Critical Handlebars.js has JavaScript Injection via AST Type Confusion CVE-2026-33937 Fixed in 4.7.9 27 Mar 2026
High Handlebars.js has JavaScript Injection via AST Type Confusion by tampering @partial-block CVE-2026-33938 Fixed in 4.7.9 27 Mar 2026
High Handlebars.js has Denial of Service via Malformed Decorator Syntax in Template Compilation CVE-2026-33939 Fixed in 4.7.9 27 Mar 2026
High Handlebars.js has JavaScript Injection via AST Type Confusion when passing an object as dynamic partial CVE-2026-33940 Fixed in 4.7.9 27 Mar 2026
High Handlebars.js has JavaScript Injection in CLI Precompiler via Unescaped Names and Options CVE-2026-33941 Fixed in 4.7.9 27 Mar 2026
Moderate Handlebars.js has Prototype Pollution Leading to XSS through Partial Template Injection CVE-2026-33916 Fixed in 4.7.9 26 Mar 2026
High Arbitrary Code Execution in Handlebars CVE-2019-20920 Fixed in 3.0.8, 4.5.3 10 Feb 2022
High Regular Expression Denial of Service in Handlebars CVE-2019-20922 Fixed in 4.4.5 10 Feb 2022
Critical Prototype Pollution in handlebars CVE-2021-23383 Fixed in 4.7.7 10 Feb 2022
Critical Remote code execution in handlebars when compiling templates CVE-2021-23369 Fixed in 4.7.7 6 May 2021

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.