Vulnerability
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 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.
127 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-225f-qh65-p7cx
- CGA-238w-3v2j-jm65
- CGA-2gh8-wc82-jj74
- CGA-2q5m-52p5-ph3f
- CGA-33rf-7r9r-pmq5
- CGA-34m4-88gh-p7mg
- CGA-36fv-m4f8-8qw8
- CGA-39mj-34cg-45j2
- CGA-3jv5-3q7x-qw4f
- CGA-3m95-53x2-qq7x
- CGA-3mvx-cp47-6gfc
- CGA-3q85-c5c2-vm62
- CGA-3r2q-c557-6x4x
- CGA-3v87-7m3g-8rch
- CGA-3wwp-447w-jfjq
- CGA-3xjf-4hqq-h7q8
- CGA-46q2-qxwm-pp62
- CGA-48mq-x9w5-hm74
- CGA-492j-vwg7-577r
- CGA-539c-vg92-wrjg
- CGA-5hhr-w64r-22rc
- CGA-5vpm-xgcc-v369
- CGA-635m-5m32-f3mv
- CGA-638v-8xh3-qxc2
- CGA-646v-67mq-87mr
- CGA-6f29-pwmv-r498
- CGA-6gxx-cfxw-pc96
- CGA-6q3w-96pm-78jc
- CGA-6rmv-84x3-mcjh
- CGA-6vr8-wjq3-m7wp
- CGA-6xjx-rqqf-76j9
- CGA-778c-jhv5-7wm8
- CGA-78f6-gwwf-g6ff
- CGA-793c-577h-27w3
- CGA-7f2j-4vm2-5wgh
- CGA-7hhq-63f9-vvwx
- CGA-7vc6-gjwv-mfmq
- CGA-8257-89jf-5588
- CGA-828x-47hf-2436
- CGA-84jh-hv2j-jjvq
- CGA-8ccj-22jq-9qcf
- CGA-8j6f-99hq-cwvm
- CGA-8mvv-qgpp-634h
- CGA-952w-q449-jg3j
- CGA-96gr-9gf7-6rv7
- CGA-9hxh-4fxg-xfm7
- CGA-9j86-35rf-vp8x
- CGA-9jvw-qqwg-cg4j
- CGA-9mmc-cf4q-5h52
- CGA-9pwh-448c-4v85
- CGA-c3rw-j6qr-68h4
- CGA-c5j3-r92j-9qf9
- CGA-chpx-hmvh-5jg7
- CGA-cjj7-fj5v-qmxq
- CGA-cjpg-95m5-vx2p
- CGA-cv47-8cg8-2mmj
- CGA-cwvc-4qwg-vhjq
- CGA-f2f7-jgg5-x767
- CGA-f38q-4m5r-wfp7
- CGA-f4ff-454q-r9wj
- CGA-ff65-4623-ccwq
- CGA-ffrx-qm9v-pmvx
- CGA-fq2v-wq54-56hg
- CGA-fqgj-v636-f342
- CGA-g3rx-j4cw-jq3p
- CGA-g4w8-ccq2-6m3q
- CGA-g5fc-5j7f-8q22
- CGA-gqhw-rr53-89pp
- CGA-h2pc-wvwq-r9p5
- CGA-h38g-vc8h-6w4h
- CGA-h4c8-fcfw-gvjr
- CGA-j348-g7p7-9r7f
- CGA-j6gh-52hj-gwvm
- CGA-j8x3-7r3f-g66x
- CGA-jcrc-rr2q-hfwh
- CGA-m2x5-gvwv-gpcp
- CGA-m53m-4vp9-9ffh
- CGA-m6fr-7fxw-vg3g
- CGA-m7wc-qxhj-v6c9
- CGA-m8rm-c34w-3332
- CGA-mh33-p8rh-97rf
- CGA-mrmw-6757-pr2w
- CGA-mv8q-f57x-xjg8
- CGA-p3q2-c4v2-55pj
- CGA-pf34-9fhj-32mp
- CGA-pj29-p476-rwcx
- CGA-pq76-6c3r-m36p
- CGA-pqm8-3xc6-f5p6
- CGA-pr7v-m825-mmcp
- CGA-q298-2rxh-7j6p
- CGA-q2r6-qvg6-r35w
- CGA-q4w5-9gq2-q5fg
- CGA-q67x-q9pg-x5vv
- CGA-qfc8-7rj4-9w9p
- CGA-qfpv-pp2r-93fm
- CGA-qhmf-68cw-5rp6
- CGA-qphw-qgqj-6j8f
- CGA-r2rg-xjpm-qv9p
- CGA-r3fv-j3w8-2g97
- CGA-r443-8p2f-x99p
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-33916.