Security mailing lists by PureSourceCode

CVE-2019-20922

HIGH 7.5CVSS 3.1

Regular Expression Denial of Service in Handlebars

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.

Published
30 Sep 2020
Last modified
8 Jul 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-62gr-4qp9-h98fSNYK-JS-HANDLEBARS-480388
Sources
NVDJSONOSV GHSA-62gr-4qp9-h98fJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.8 AV:N/AC:L/Au:N/C:N/I:N/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD handlebarsjs handlebars
cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:*
>= 4.0.0, < 4.4.5 4.4.5
OSV npm handlebars >= 4.0.0, < 4.4.5 4.4.5

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 30 Sep 2020)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.