{"id":"GHSA-f52g-6jhx-586p","aliases":[],"status":"published","title":"Denial of Service in handlebars","description":"Affected versions of `handlebars` are vulnerable to Denial of Service. The package's parser may be forced into an endless loop while processing specially-crafted templates. This may allow attackers to exhaust system resources leading to Denial of Service.\n\n\n## Recommendation\n\nUpgrade to version 4.4.5 or later.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2020-09-03T23:20:12Z","modified":"2023-01-09T05:03:50Z","fixes":[{"ecosystem":"npm","package":"handlebars","fixed_in":["4.4.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"handlebars","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.4.5"}]}]},{"source":"osv","ecosystem":"npm","package":"handlebars","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.4.5"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/1300","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f52g-6jhx-586p"}],"sources":{"ghsa":[{"id":"GHSA-f52g-6jhx-586p","title":"Denial of Service in handlebars","description":"Affected versions of `handlebars` are vulnerable to Denial of Service. The package's parser may be forced into an endless loop while processing specially-crafted templates. This may allow attackers to exhaust system resources leading to Denial of Service.\n\n\n## Recommendation\n\nUpgrade to version 4.4.5 or later.","status":"published","published":"2020-09-03T23:20:12Z","modified":"2023-01-09T05:03:50Z","cwes":["CWE-400"],"updated_at":"2026-11-02T14:36:06.884904Z"}],"osv":[{"id":"GHSA-f52g-6jhx-586p","title":"Denial of Service in handlebars","description":"Affected versions of `handlebars` are vulnerable to Denial of Service. The package's parser may be forced into an endless loop while processing specially-crafted templates. This may allow attackers to exhaust system resources leading to Denial of Service.\n\n\n## Recommendation\n\nUpgrade to version 4.4.5 or later.","status":"published","published":"2020-09-03T23:20:12Z","modified":"2020-08-31T18:54:21Z","cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:46.006631Z"}]}}
