{"id":"CVE-2021-23369","aliases":["CVE-2021-23369","GHSA-f2jv-r9rf-7988"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Code Execution (RCE)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-04-12T13:10:28.403Z","modified":"2026-10-08T22:17:07.613Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","score":5.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"4.7.7","status":"affected"}],"product":"handlebars","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.7.7"}],"ecosystem":"npm","package":"handlebars","purl":"pkg:npm/handlebars","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.7.7"}],"ecosystem":"Maven","package":"org.webjars:handlebars","purl":"pkg:maven/org.webjars/handlebars","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.7.7"}],"ecosystem":"Maven","package":"org.webjars.npm:handlebars","purl":"pkg:maven/org.webjars.npm/handlebars","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.7.7"}],"ecosystem":"Maven","package":"org.webjars.bowergithub.wycats:handlebars.js","purl":"pkg:maven/org.webjars.bowergithub.wycats/handlebars.js","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.7.7"}],"vendor":"handlebarsjs","product":"handlebars","cpe":"cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20210604-0008/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23369","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/wycats/handlebars.js","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20210604-0008","tags":["web"],"sources":["ghsa"]}],"credits":["Francois Lajeunesse-Robert"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-08T21:03:39.196Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23369","url":"https://www.cve.org/CVERecord?id=CVE-2021-23369","licence":"CVE Terms of Use","modified":"2026-10-08T21:13:45.623Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f2jv-r9rf-7988","url":"https://github.com/advisories/GHSA-f2jv-r9rf-7988","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:14.829Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23369","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23369","licence":"Public domain","modified":"2026-10-08T22:17:07.613Z"}],"updatedAt":"2026-11-25T22:58:00.706Z","epss":{"score":0.07028,"percentile":0.94302,"date":"2026-12-01T12:00:22.000Z"}}