{"id":"CVE-2021-23369","aliases":["GHSA-f2jv-r9rf-7988"],"url":"https://o3.security/vulnerability/CVE-2021-23369","summary":"Remote code execution in handlebars when compiling templates","details":"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":"2021-04-12T14:15:14.383Z","modified":"2026-07-08T23:57:27.770453Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Maven","name":"org.webjars:handlebars","fixedVersion":"4.7.7"},{"ecosystem":"Maven","name":"org.webjars.npm:handlebars","fixedVersion":"4.7.7"},{"ecosystem":"Maven","name":"org.webjars.bowergithub.wycats:handlebars.js","fixedVersion":"4.7.7"},{"ecosystem":"npm","name":"handlebars","fixedVersion":"4.7.7"}],"fix":{"url":"https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8","label":"handlebars-lang/handlebars.js@b6d3de7"},"references":[{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210604-0008/"},{"type":"FIX","url":"https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8"},{"type":"FIX","url":"https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T23:57:27.770453Z"}}