CVE-2019-20920
HIGH
Published Sep 30, 20205y ago · Modified Jun 17, 20261w ago
8.1 CVSS 3.1
Published Sep 30, 2020 5y ago
Last Modified Jun 17, 2026 1w ago
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 Details
Base Score
Exploitability
Impact
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 Complexity High
Privileges Required None
User Interaction None
Scope Changed
Confidentiality High
Integrity Low
Availability Low
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-94 Improper Control of Generation of Code (Code Injection) Injection
Affected Products 2
| Vendor | Product | Version | Range |
|---|---|---|---|
| handlebarsjs | handlebars | * | <3.0.8 |
| handlebarsjs | handlebars | * | ≥4.0.0 – <4.5.3 |
References 3
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.