Live threats

All CVEs / Handlebarsjs

CVE-2019-20922Handlebarsjs Handlebars

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.7%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Sep 30, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Handlebars before 4.4.5 allows Regular Expression Denial of Service (ReDoS) because of eager matching. The parser may be forced into an endless loop while processing crafted templates. This may allow attackers to exhaust system resources.

Original NVD text.

What to do

  1. Apply the vendor's security update for Handlebars.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm handlebars ≥ 4.0.0 < 4.4.5 4.4.5 npm install handlebars@4.4.5

Per OSV / GitHub Advisories (GHSA-62gr-4qp9-h98f). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
handlebarsjshandlebars≥ 4.0.0 < 4.4.5

Official sources

References

Links published by the sources. Open them with care.