{"cve":"CVE-2021-23369","nvd":{"published":"2021-04-12T14:15:14.383","modified":"2026-10-08T22:17:07.613","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":[],"references":["https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8","https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427","https://security.netapp.com/advisory/ntap-20210604-0008/","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951"],"products":["handlebarsjs:handlebars"],"source":"nvd","synced_at":"2026-10-19T21:17:01.373894544+00:00"},"epss":{"cve":"CVE-2021-23369","score":0.07028,"percentile":0.94137,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-f2jv-r9rf-7988","url":"https://osv.dev/vulnerability/GHSA-f2jv-r9rf-7988","summary":"Remote code execution in handlebars when compiling templates","modified":"2026-09-10T03:49:14.829727360Z","packages":[{"ecosystem":"npm","name":"handlebars","purl":"pkg:npm/handlebars","ranges":["<4.7.7"],"fixed":["4.7.7"]},{"ecosystem":"Maven","name":"org.webjars:handlebars","purl":"pkg:maven/org.webjars/handlebars","ranges":["<4.7.7"],"fixed":["4.7.7"]},{"ecosystem":"Maven","name":"org.webjars.npm:handlebars","purl":"pkg:maven/org.webjars.npm/handlebars","ranges":["<4.7.7"],"fixed":["4.7.7"]},{"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"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}