VulnerabilityModified
CVE-2019-20920
Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution.
HIGH 8.1EPSS 3.19%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.19%). 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.19% probability · 87th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- handlebarsjs/handlebars
- Source
- cve@mitre.org
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. Refreshed daily.