CVE-2021-23369
JSON

5.6medium

Remote Code Execution (RCE)

Severity
5.6medium CVSS:3.1 by snyk
Exploit likelihood
7.03% (higher than 94% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-f2jv-r9rf-7988

Description

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.

Affected

Product or packageVersionsReported by
handlebarsfrom unspecified before 4.7.7CVE List
handlebars (npm)before 4.7.7GitHub Advisory Database
org.webjars:handlebars (Maven)before 4.7.7GitHub Advisory Database
org.webjars.npm:handlebars (Maven)before 4.7.7GitHub Advisory Database
org.webjars.bowergithub.wycats:handlebars.js (Maven)before 4.7.7GitHub Advisory Database
handlebarsjs handlebarsbefore 4.7.7NVD

All scores

snyk5.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

El paquete handlebars versiones anteriores a 4.7.7, son vulnerables a una Ejecución de Código Remota (RCE) al seleccionar determinadas opciones de compilación para compilar plantillas que provienen de una fuente no confiable

References

https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767exploit, third-party-advisory, web
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950exploit, third-party-advisory, web
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951exploit, third-party-advisory, web
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952exploit, third-party-advisory, web
https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8patch, third-party-advisory, web
https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427patch, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20210604-0008/third-party-advisory
https://nvd.nist.gov/vuln/detail/CVE-2021-23369advisory
https://github.com/wycats/handlebars.jspackage
https://security.netapp.com/advisory/ntap-20210604-0008web

Sources

SourceRecordLicence
CVE ListCVE-2021-23369 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-f2jv-r9rf-7988 changed 2026-09-10CC-BY-4.0
NVDCVE-2021-23369 changed 2026-10-08Public domain