XSS in Handlebars-lang Handlebars.js
CVE-2026-33916
Handlebars provides the power necessary to let users build semantic templates. In versions 4.0.0 through 4.7.8, `resolvePartial()` in the Handlebars runtime resolves partial names via a plain property lookup on `options.partials` without g…
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.001 (22.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Handlebars-lang Handlebars.js — versions >= 4.0.0, < 4.7.9
Weakness classification (CWE)
References
- https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-2qvq-rjwj-gvw9 (x_refsource_CONFIRM)
- https://github.com/handlebars-lang/handlebars.js/commit/68d8df5a88e0a26fe9e6084c5c6aaebe67b07da2 (x_refsource_MISC)
- https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.9 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-33916?
- CVE-2026-33916 is a medium-severity vulnerability in Handlebars-lang Handlebars.js, classified under Cross-site Scripting. CVSS score: 4.7/10. Published 2026-03-27.
- How severe is CVE-2026-33916?
- Medium severity. CVSS v3 base score is 4.7 out of 10.