PatchSiren

handlebars-lang CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

MEDIUM handlebars-lang CVE published 2026-10-08

CVE-2026-106444

This CVE debrief provides an executive overview of CVE-2026-106444, a vulnerability in Handlebars that allows JavaScript injection via unsafe inline embedding of precompiled templates. The vulnerability affects applications that precompile attacker-controlled templates and embed the generated source directly in an HTML <script> element. This can lead to potential XSS attacks and JavaScript execution in affected applications. Defenders should assess exposure, prioritize verification and remediation, and consider upgrading to Handlebars version 4.7.10 or later. The NVD entry is currently unclassified, and the CVE record was published on 2026-10-08T17:52:37.000Z. The debrief is based

CRITICAL handlebars-lang CVE published 2026-10-08

CVE-2026-106446

A critical vulnerability was found in Handlebars.js, a popular JavaScript templating engine. The issue, tracked as CVE-2026-106446, allows for JavaScript injection via AST type confusion in the compile function, specifically through the Program.blockParams property. This vulnerability affects Handlebars.js versions from 4.0.0 up to but not including 4.7.10. An attacker can exploit this vulnerability by supplying an object instead of a template string, enabling the placement of JavaScript expressions in unchecked values. This can lead to code execution in the server process when the compile output renders or when precompile output is loaded. Applications that only pass template strings are not affected by this issue.

CRITICAL handlebars-lang CVE published 2026-10-08

CVE-2026-106445

CVE-2026-106445 debrief based on the supplied source corpus. The CVE record was published on 2026-10-08T17:52:26.000Z and has not been modified since then. The NVD entry is currently null. This vulnerability affects Handlebars deployments, particularly those using allowProtoMethodsByDefault, allowing for Remote Code Execution on the server through JavaScript injection in Handlebars templates. Defenders should assess exposure and prioritize verification and remediation efforts. The vulnerability stems from Handlebars' handling of prototype properties, which can bypass the deny list and expose the Function constructor.

HIGH handlebars-lang CVE published 2026-03-27

CVE-2026-33938

CVE-2026-33938 is a high-severity vulnerability in Handlebars, a popular templating engine for Node.js. The vulnerability allows for arbitrary JavaScript code execution on the server due to improper handling of the `@partial-block` special variable. This variable is stored in the template data context and can be overwritten by helpers that accept arbitrary objects, leading to code injection. The issue affects Handlebars versions 4.0.0 through 4.7.8 and is fixed in version 4.7.9. Users can mitigate the issue by using the runtime-only build, auditing registered helpers, and avoiding untrusted helpers.

CRITICAL handlebars-lang CVE published 2026-03-27

CVE-2026-33937

CVE-2026-33937 is a critical vulnerability in Handlebars, a popular templating engine for Node.js. The vulnerability allows for Remote Code Execution (RCE) and has a CVSS score of 9.8. It affects Handlebars versions 4.0.0 through 4.7.8. An attacker can exploit this vulnerability by supplying a crafted Abstract Syntax Tree (AST) to the `Handlebars.compile()` function, which can lead to arbitrary JavaScript execution on the server. The vulnerability was patched in version 4.7.9. Users should update to the latest version to mitigate this risk.