CVE-2026-33937 — Vulnerability in handlebars — CVE Details
Handlebars.js has JavaScript Injection via AST Type Confusion
Summary
Advisory Timeline
- First published March 27, 2026 (199 days ago).
- Last revised September 10, 2026 — 166 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install handlebars@4.7.9
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| handlebars | npm | All versions | 4.7.9 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-843
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-2w6w-674q-4c4qWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-33937ADVISORY
- https://github.com/handlebars-lang/handlebars.js/commit/68d8df5a88e0a26fe9e6084c5c6aaebe67b07da2WEB
- https://github.com/handlebars-lang/handlebars.jsPACKAGE
- https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.9WEB
Frequently Asked Questions
- What is CVE-2026-33937?
- Handlebars.js has JavaScript Injection via AST Type Confusion This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-33937?
- CVE-2026-33937 affects handlebars. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-33937 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-106446CRITICAL
Handlebars: JavaScript Injection via AST Type Confusion in compile (bypass of CVE-2026-33937)
- CVE-2026-106445CRITICAL
Handlebars: JavaScript Injection via Own Property Check Bypass
- CVE-2019-19919CRITICAL
Prototype Pollution in handlebars
- CVE-2026-107722CRITICAL
fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion
- CVE-2026-108261CRITICAL
TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies