{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-33916","published":"2026-03-27T21:17:27.237000Z","last_modified":"2026-10-26T22:10:00.163000Z","status":"Analyzed","cvss":{"version":"3.1","score":4.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79","CWE-1321"],"cpes":[{"criteria":"cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:*","part":"a","vendor":"handlebarsjs","product":"handlebars","version_start_including":"4.0.0","version_end_excluding":"4.7.9"}],"cpes_truncated":false,"vendors":["handlebarsjs"],"products":["handlebarsjs/handlebars"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2qvq-rjwj-gvw9","ecosystem":"npm","name":"handlebars","purl":"pkg:npm/handlebars","ranges":[{"introduced":"4.0.0","fixed":"4.7.9"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":43,"links":{"html_es":"/es/cve/CVE-2026-33916/","html_en":"/en/cve/CVE-2026-33916/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-33916","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-33916"},"untrusted":{"vendor_name":"Handlebarsjs","product_name":"Handlebars","desc_en":"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 guarding against prototype-chain traversal. When `Object.prototype` has been polluted with a string value whose key matches a partial reference in a template, the polluted string is used as the partial body and rendered without HTML escaping, resulting in reflected or stored XSS. Version 4.7.9 fixes the issue. Some workarounds are available. Apply `Object.freeze(Object.prototype)` early in application startup to prevent prototype  pollution. Note: this may break other libraries, and/or use the Handlebars runtime-only build (`handlebars/runtime`), which does not compile templates  and reduces the attack surface.","affected":[{"untrusted_vendor":"handlebars-lang","untrusted_product":"handlebars.js","versions":[]}],"references":[{"url":"https://github.com/handlebars-lang/handlebars.js/commit/68d8df5a88e0a26fe9e6084c5c6aaebe67b07da2","tags":["Patch"]},{"url":"https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.9","tags":["Release Notes"]},{"url":"https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-2qvq-rjwj-gvw9","tags":["Exploit","Vendor Advisory"]}]}}