Security mailing lists by PureSourceCode

CVE-2021-23369

CRITICAL 9.8CVSS 3.1

Remote code execution in handlebars when compiling templates

The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.

Published
12 Apr 2021
Last modified
8 Oct 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-94
Also known as
GHSA-f2jv-r9rf-7988
Sources
NVDJSONOSV GHSA-f2jv-r9rf-7988JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.6 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD handlebarsjs handlebars
cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:*
< 4.7.7 4.7.7
OSV npm handlebars < 4.7.7 4.7.7
OSV Maven org.webjars:handlebars < 4.7.7 4.7.7
OSV Maven org.webjars.npm:handlebars < 4.7.7 4.7.7
OSV Maven org.webjars.bowergithub.wycats:handlebars.js < 4.7.7 4.7.7

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 12 Apr 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 May 2021)
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.