CVE-2019-20920
Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.15%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templates that execute arbitrary JavaScript. This can be used to run arbitrary code on a server processing Handlebars templates or in a victim's browser (effectively serving as XSS).
- CVSS 3.1
- 8.1 HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L
- EPSS
- 3.15% probability · 88th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- handlebarsjs/handlebars
- Source
- cve@mitre.org
EPSS 3.2% 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://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478Third Party Advisory
- https://www.npmjs.com/advisories/1316Exploit, Third Party Advisory
- https://www.npmjs.com/advisories/1324Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478Third Party Advisory
- https://www.npmjs.com/advisories/1316Exploit, Third Party Advisory
- https://www.npmjs.com/advisories/1324Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.