CVE-2019-20920

CVSS V2 Medium 6.8 CVSS V3 High 8.1
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).
Overview
  • CVE ID
  • CVE-2019-20920
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2020-09-30T18:15:17
  • Last Modified Date
  • 2020-10-15T17:35:59
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:* 1 OR 3.0.8
cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:* 1 OR 4.0.0 4.5.3
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 6.8
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • HIGH
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • CHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • LOW
  • Base Score
  • 8.1
  • Base Severity
  • HIGH
  • Exploitability Score
  • 2.2
  • Impact Score
  • 5.3
References
Reference URL Reference Tags
https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478 Third Party Advisory
https://www.npmjs.com/advisories/1324 Third Party Advisory
https://www.npmjs.com/advisories/1316 Exploit Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 17:08:02 Added to TrackCVE
2022-12-04 23:30:27 2020-09-30T18:15Z 2020-09-30T18:15:17 CVE Published Date updated
2022-12-04 23:30:27 2020-10-15T17:35:59 CVE Modified Date updated
2022-12-04 23:30:27 Analyzed Vulnerability Status updated