{"id":"CVE-2019-20920","state":"PUBLISHED","title":"Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templat","description":"Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templates that execute arbitrary JavaScript. This can be used to run arbitrary code on a server processing Handlebars templates or in a victim's browser (effectively serving as XSS).","publishedAt":"2020-09-30T12:30:56.000Z","updatedAt":"2026-10-08T21:13:55.415Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.npmjs.com/advisories/1316","https://www.npmjs.com/advisories/1324","https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:50.141Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/20xxx/CVE-2019-20920.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2019-20920","state":"PUBLISHED","datePublished":"2020-09-30T12:30:56.000Z","dateUpdated":"2026-10-08T21:13:55.415Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-09-30T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templates that execute arbitrary JavaScript. This can be used to run arbitrary code on a server processing Handlebars templates or in a victim's browser (effectively serving as XSS)."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.npmjs.com/advisories/1316","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/advisories/1324","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-09-30T12:30:56.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-20920","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templates that execute arbitrary JavaScript. This can be used to run arbitrary code on a server processing Handlebars templates or in a victim's browser (effectively serving as XSS)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://www.npmjs.com/advisories/1316","refsource":"MISC","url":"https://www.npmjs.com/advisories/1316"},{"name":"https://www.npmjs.com/advisories/1324","refsource":"MISC","url":"https://www.npmjs.com/advisories/1324"},{"name":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.npmjs.com/advisories/1316","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.npmjs.com/advisories/1324","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T03:00:18.770Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2019-20920","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-08T21:08:21.157256Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-08T21:13:55.415Z"}}]}}}