CVE-2019-20922
Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.69%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 3.69% probability · 90th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-400
- Affected
- handlebarsjs/handlebars
- Source
- cve@mitre.org
EPSS 3.7% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8bPatch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388Third Party Advisory
- https://www.npmjs.com/advisories/1300Third Party Advisory
- https://github.com/handlebars-lang/handlebars.js/commit/8d5530ee2c3ea9f0aee3fde310b9f36887d00b8bPatch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-480388Third Party Advisory
- https://www.npmjs.com/advisories/1300Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.