{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-23369","id":"CVE-2021-23369","title":"Remote Code Execution (RCE)","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.","descriptionLong":"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-12T13:10:28.403Z","updated":"2026-10-20T10:54:31.889996589Z","reserved":"2021-01-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.6,"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","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":5.6,"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","rating":"medium","source":"snyk"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"snyk.io"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"medium","products":["handlebars"],"affectedProducts":[{"vendor":"n/a","product":"handlebars","defaultStatus":null,"versions":[{"lessThan":"4.7.7","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"handlebars","purl":"pkg:npm/handlebars","ranges":["<4.7.7"],"fixed":["4.7.7"],"advisory":"GHSA-f2jv-r9rf-7988"},{"ecosystem":"Maven","name":"org.webjars:handlebars","purl":"pkg:maven/org.webjars/handlebars","ranges":["<4.7.7"],"fixed":["4.7.7"],"advisory":"GHSA-f2jv-r9rf-7988"},{"ecosystem":"Maven","name":"org.webjars.npm:handlebars","purl":"pkg:maven/org.webjars.npm/handlebars","ranges":["<4.7.7"],"fixed":["4.7.7"],"advisory":"GHSA-f2jv-r9rf-7988"},{"ecosystem":"Maven","name":"org.webjars.bowergithub.wycats:handlebars.js","purl":"pkg:maven/org.webjars.bowergithub.wycats/handlebars.js","ranges":["<4.7.7"],"fixed":["4.7.7"],"advisory":"GHSA-f2jv-r9rf-7988"}],"cwes":["CWE-94"],"aliases":["GHSA-f2jv-r9rf-7988"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210604-0008/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23369","tags":["advisory"]},{"url":"https://github.com/wycats/handlebars.js","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20210604-0008","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.07028,"epssPercentile":0.94306,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-23369","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23369","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-23369","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f2jv-r9rf-7988","ok":true,"note":"GHSA-f2jv-r9rf-7988"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-23369","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}