{"api_version":"1","generated_at":"2026-04-23T02:37:18+00:00","cve":"CVE-2021-23369","urls":{"html":"https://cve.report/CVE-2021-23369","api":"https://cve.report/api/cve/CVE-2021-23369.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23369","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23369"},"summary":{"title":"CVE-2021-23369","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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2021-04-12 14:15:00","updated_at":"2021-06-08 13:54:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951","name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951","refsource":"MISC","tags":[],"title":"Remote Code Execution (RCE) in org.webjars.bower:handlebars | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8","name":"https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8","refsource":"MISC","tags":[],"title":"fix: check prototype property access in strict-mode (#1736) · handlebars-lang/handlebars.js@b6d3de7 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952","name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952","refsource":"MISC","tags":[],"title":"Remote Code Execution (RCE) in org.webjars.npm:handlebars | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427","name":"https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427","refsource":"MISC","tags":[],"title":"fix: escape property names in compat mode (#1736) · handlebars-lang/handlebars.js@f058970 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950","name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950","refsource":"MISC","tags":[],"title":"Remote Code Execution (RCE) in org.webjars:handlebars | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20210604-0008/","name":"https://security.netapp.com/advisory/ntap-20210604-0008/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-23369 Node.js Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767","name":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767","refsource":"MISC","tags":[],"title":"Remote Code Execution (RCE) in handlebars | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-23369","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23369","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Francois Lajeunesse-Robert","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"23369","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"handlebarsjs","cpe5":"handlebars","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-23369","qid":"179851","title":"Debian Security Update for node-handlebars (CVE-2021-23369)"},{"cve":"CVE-2021-23369","qid":"905118","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for reaper (12621)"},{"cve":"CVE-2021-23369","qid":"982334","title":"Nodejs (npm) Security Update for handlebars (GHSA-f2jv-r9rf-7988)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-04-12T13:09:13.776933Z","ID":"CVE-2021-23369","STATE":"PUBLIC","TITLE":"Remote Code Execution (RCE)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"handlebars","version":{"version_data":[{"version_affected":"<","version_value":"4.7.7"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Remote Code Execution (RCE)"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767","name":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767"},{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950","name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950"},{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951","name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951"},{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952","name":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952"},{"refsource":"MISC","url":"https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8","name":"https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8"},{"refsource":"MISC","url":"https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427","name":"https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20210604-0008/","url":"https://security.netapp.com/advisory/ntap-20210604-0008/"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"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","baseScore":5.6,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"}},"credit":[{"lang":"eng","value":"Francois Lajeunesse-Robert"}]},"nvd":{"publishedDate":"2021-04-12 14:15:00","lastModifiedDate":"2021-06-08 13:54:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:*","versionEndExcluding":"4.7.7","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"23369","Ordinal":"198096","Title":"CVE-2021-23369","CVE":"CVE-2021-23369","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"23369","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"23369","Ordinal":"2","NoteData":"2021-04-12","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"23369","Ordinal":"3","NoteData":"2021-06-04","Type":"Other","Title":"Modified"}]}}}