GHSA-62gr-4qp9-h98f
Dashboard / Vulnerabilities / GHSA-62gr-4qp9-h98f
GHSA-62gr-4qp9-h98f
Published: 10 Feb 2022Last Modified: 8 Jul 2026
Summary: Regular Expression Denial of Service in Handlebars
Details: Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.
References: https://nvd.nist.gov/vuln/detail/CVE-2019-20922, https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8b, https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388, https://www.npmjs.com/advisories/1300, https://www.npmjs.com/package/handlebars
Affected packages
Package
Name: handlebars
Purl: pkg:npm/handlebars
Affected ranges
Type: SEMVER
Events:
Introduced- 4.0.0
Fixed -4.4.5
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
