{"id":"GHSA-q42p-pg8m-cqh6","revision":"ee9edaa8627841ff9826c9f471af1d08","records":[{"revision":"ee9edaa8627841ff9826c9f471af1d08","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-q42p-pg8m-cqh6","aliases":[],"title":"Prototype Pollution in handlebars","description":"Versions of `handlebars` prior to 4.0.14 are vulnerable to Prototype Pollution. Templates may alter an Objects' prototype, thus allowing an attacker to execute arbitrary code on the server.\n\n\n## Recommendation\n\nFor handlebars 4.1.x upgrade to 4.1.2 or later.\nFor handlebars 4.0.x upgrade to 4.0.14 or later.","state":0,"publishedAt":"2019-06-05T14:07:48+00:00","modifiedAt":"2026-09-10T03:48:23.6482317+00:00","affected":[{"ecosystem":"npm","name":"handlebars","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.1.0"},{"kind":"fixed","version":"4.1.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"handlebars","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0"},{"kind":"fixed","version":"4.0.14"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"handlebars","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.0.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/handlebars-lang/handlebars.js/issues/1495","https://github.com/handlebars-lang/handlebars.js/commit/0d6d8c335ad81bad1b672fc56b6a44f6aa472dac","https://github.com/handlebars-lang/handlebars.js/commit/7372d4e9dffc9d70c09671aa28b9392a1577fd86","https://github.com/handlebars-lang/handlebars.js/commit/85c8783b34fc6d36145d8b53885ad0b9e3c3f9c4","https://github.com/handlebars-lang/handlebars.js/commit/cd38583216dce3252831916323202749431c773e","https://snyk.io/vuln/SNYK-JS-HANDLEBARS-173692","https://www.npmjs.com/advisories/755"],"sourceUrl":"https://github.com/advisories/GHSA-q42p-pg8m-cqh6","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-q42p-pg8m-cqh6","identifiers":["GHSA-q42p-pg8m-cqh6"]},"retained":false,"historicalAffected":[]}],"coverage":[]}