Read the docs
TI-2019-15134 Aliases CVE-2019-20920GHSA-3cqr-58rm-57f8

Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution.

Priority MEDIUM 47CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · Low · Low
Fix status
Partial Red Hat: 4 fixed, 3 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-94.

Summary

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).

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.03154 88th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial handlebars (npm): 3.0.8, 4.5.3Red Hat: 4 advisoriesRed Hat: 4 fixed, 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—handlebars (npm)before 3.0.83.0.8Patch availableGHSA-3cqr-58rm-57f8
—handlebars (npm)4.0.0 to before 4.5.34.5.3Patch availableGHSA-3cqr-58rm-57f8
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • handlebars (npm) Vendor— Affected before 3.0.8 Fixed in 3.0.8 Patch available GHSA-3cqr-58rm-57f8
  • handlebars (npm) Vendor— Affected 4.0.0 to before 4.5.3 Fixed in 4.5.3 Patch available GHSA-3cqr-58rm-57f8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:*before 3.0.8; 4.0.0 to before 4.5.3Vulnerablehandlebars-lang
  • cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:* Versions before 3.0.8; 4.0.0 to before 4.5.3 Vulnerable ·handlebars-lang

Remediation

  • Fix · GHSA-3cqr-58rm-57f8 handlebars (npm) Fixed in 3.0.8 Advisory →
  • Fix · GHSA-3cqr-58rm-57f8 handlebars (npm) Fixed in 4.5.3 Advisory →

Red Hat 4 advisories

  • RHSA-2023:1334 Released 2023-03-20 · Red Hat rating Critical
    Red Hat Process Automation Manager 7.13.2 security update
    • RHPAM 7.13.1 async
  • RHSA-2021:3917 Released 2021-10-19 · Red Hat rating Important
    Red Hat Quay v3.6.0 security, bug fix and enhancement update
    • Quay v3 quay/quay-rhel8
  • RHSA-2021:2500 Released 2021-06-29 · Red Hat rating Moderate
    Red Hat OpenShift Enterprise security and bug fix update
    • Red Hat OpenShift Container Platform 4.6 openshift4/ose-logging-kibana6
Show 1 more Red Hat advisories
  • RHSA-2020:5179 Released 2020-11-24 · Red Hat rating Low
    Red Hat Virtualization security, bug fix, and enhancement update
    • RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 ovirt-engine-4.4.3.8-0.1.el8ev, ovirt-engine-backend-4.4.3.8-0.1.el8ev, ovirt-engine-dbscripts-4.4.3.8-0.1.el8ev +18

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift Service Mesh 1AffectedNo fix planned: Will not fix
Red Hat OpenShift Container Platform 3.11AffectedNo fix planned: Will not fix
Red Hat OpenShift Container Platform 4AffectedNo fix planned: Will not fix
Quay v3Fixed RHSA-2021:3917
RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4Fixed RHSA-2020:5179
RHPAM 7.13.1 asyncFixed RHSA-2023:1334
Red Hat OpenShift Container Platform 4.6Fixed RHSA-2021:2500
Not affected: 6 products
  • OpenShift Service Mesh 1
  • Quay v3
  • RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat OpenShift Container Platform 4.6
  • Red Hat Virtualization 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-20920
  2. 2026-10-03 Alias added: GHSA-3cqr-58rm-57f8
  3. 2026-10-08 CISA SSVC decision points changed

References

  • TI-2026-26288 Handlebars.js has JavaScript Injection via AST Type Confusion CVSS 3.1CRITICAL 9.8
  • TI-2026-26290 Handlebars.js has Denial of Service via Malformed Decorator Syntax in Template Compilation CVSS 3.1HIGH 7.5
  • TI-2026-26292 Handlebars.js has JavaScript Injection in CLI Precompiler via Unescaped Names and Options CVSS 3.1HIGH 8.3
  • TI-2026-26291 Handlebars.js has JavaScript Injection via AST Type Confusion when passing an object as dynamic partial CVSS 3.1HIGH 8.1
  • TI-2026-26289 Handlebars.js has JavaScript Injection via AST Type Confusion by tampering @partial-block CVSS 3.1HIGH 8.1
  • TI-2021-06062 Remote code execution (RCE) in handlebars CVSS 3.1CRITICAL 9.8
See all 9 →

Sources