RCE in Handlebarsjs Handlebars
CVE-2019-20920
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).
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L.
EPSS exploit prediction
EPSS: 0.032 (87.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 87.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.032 · newest: 0.032 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.npmjs.com/advisories/1316 (Exploit, Third Party Advisory)
- www.npmjs.com/advisories/1324 (Third Party Advisory)
- snyk.io/vuln/SNYK-JS-HANDLEBARS-534478 (Third Party Advisory)
Frequently asked questions
- What is CVE-2019-20920?
- CVE-2019-20920 is a high-severity vulnerability in Handlebarsjs Handlebars, classified under Code Injection. CVSS score: 8.1/10. Published 2020-09-30.
- How severe is CVE-2019-20920?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2019-20920 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.