{"id":"GHSA-g9r4-xpmj-mj65","aliases":["GHSA-g9r4-xpmj-mj65"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution in handlebars","summary":"Versions of `handlebars` prior to 3.0.8 or 4.5.3 are vulnerable to prototype pollution. It is possible to add or modify properties to the Object prototype through a malicious template. This may allow attackers to crash the application or execute Arbitrary Code in specific conditions.\n\n\n## Recommendation\n\nUpgrade to version 3.0.8, 4.5.3 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `handlebars` prior to 3.0.8 or 4.5.3 are vulnerable to prototype pollution. It is possible to add or modify properties to the Object prototype through a malicious template. This may allow attackers to crash the application or execute Arbitrary Code in specific conditions.\n\n\n## Recommendation\n\nUpgrade to version 3.0.8, 4.5.3 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-04T15:06:32.000Z","modified":"2026-09-10T03:49:13.649Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.0.8"}],"ecosystem":"npm","package":"handlebars","purl":"pkg:npm/handlebars","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.5.3"}],"ecosystem":"npm","package":"handlebars","purl":"pkg:npm/handlebars","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1325","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g9r4-xpmj-mj65","url":"https://github.com/advisories/GHSA-g9r4-xpmj-mj65","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:13.649Z"}],"updatedAt":"2026-11-25T22:56:45.412Z"}