{"id":"CVE-2019-20920","revision":null,"records":[{"revision":"5cdea7d78b3c472687fac1b40cfeda00","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2019-20920","aliases":[],"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 templates that execute arbitrary JavaScript. This can be used to ru…","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).","state":0,"publishedAt":"2020-09-30T12:30:56+00:00","modifiedAt":"2026-10-08T21:13:55.415+00:00","affected":[{"ecosystem":"Vendor product","name":"n/a","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"n/a\",\n                    \"vendor\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"n/a\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://www.npmjs.com/advisories/1316","https://www.npmjs.com/advisories/1324","https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2019-20920","license":"CVE Program Terms of Use","key":"cve-program:CVE-2019-20920","identifiers":["CVE-2019-20920"]},"retained":false,"historicalAffected":[]},{"revision":"54d49d6d307647609aaa502fceb00e8e","observedAt":"2026-11-09T19:12:36.508+00:00","statement":{"source":"euvd","id":"EUVD-2022-0789","aliases":["CVE-2019-20920","GHSA-3cqr-58rm-57f8"],"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 templates that execute arbitrary JavaScript. This can be used to ru…","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).","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[],"references":["https://www.npmjs.com/advisories/1316","https://www.npmjs.com/advisories/1324","https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-0789","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Sep 30, 2020, 12:30:56 PM","dateUpdated":"Oct 8, 2026, 9:13:55 PM"},"relatedAdvisories":[{"id":"RHSA-2020:5179","title":"Red Hat Security Advisory: Red Hat Virtualization security, bug fix, and enhancement update","vulnerabilityIds":["CVE-2019-20920","CVE-2019-20922","CVE-2020-8203"]},{"id":"RHSA-2023:1334","title":"Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.2 security update","vulnerabilityIds":["CVE-2017-12629","CVE-2018-1000134","CVE-2019-19919","CVE-2019-20920","CVE-2019-20922","CVE-2021-23369","CVE-2021-23383","CVE-2021-26291"]},{"id":"RHSA-2021:2500","title":"Red Hat Security Advisory: Red Hat OpenShift Enterprise security and bug fix update","vulnerabilityIds":["CVE-2019-20920","CVE-2019-20922","CVE-2021-23369","CVE-2021-23383"]},{"id":"RHSA-2021:3917","title":"Red Hat Security Advisory: Red Hat Quay v3.6.0 security, bug fix and enhancement update","vulnerabilityIds":["CVE-2017-16137","CVE-2017-16138","CVE-2018-1107","CVE-2018-1109","CVE-2018-3721","CVE-2018-3728","CVE-2018-3774","CVE-2018-16492","CVE-2018-21270","CVE-2019-20920","CVE-2019-20922","CVE-2019-1010266","CVE-2020-7608","CVE-2020-8203","CVE-2020-15366","CVE-2020-26237","CVE-2020-26291","CVE-2020-35653","CVE-2020-35654","CVE-2021-23364","CVE-2021-23368","CVE-2021-23382","CVE-2021-25289","CVE-2021-25290","CVE-2021-25291","CVE-2021-25292","CVE-2021-25293","CVE-2021-27515","CVE-2021-27516","CVE-2021-27921","CVE-2021-27922","CVE-2021-27923","CVE-2021-34552"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2022-0789","identifiers":["EUVD-2022-0789","CVE-2019-20920","GHSA-3cqr-58rm-57f8"]},"retained":false,"historicalAffected":[]},{"revision":"c27d1c40340f4cd29bc055622a1ce5fc","observedAt":"2026-10-24T15:17:33.973+00:00","statement":{"source":"nvd","id":"CVE-2019-20920","aliases":[],"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 templates that execute arbitrary JavaScript. This can be used to ru…","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).","state":0,"publishedAt":"2020-09-30T18:15:17.927+00:00","modifiedAt":"2026-10-08T22:16:54.603+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L","score":8.1,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"severity":"MEDIUM"}],"references":["https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478","https://www.npmjs.com/advisories/1316","https://www.npmjs.com/advisories/1324"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2019-20920","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-94"],"productCriteria":["cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2020-09-30T18:15:17.927","lastModified":"2026-10-08T22:16:54.603"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2019-20920","identifiers":["CVE-2019-20920"]},"retained":false,"historicalAffected":[]},{"revision":"8505ce2d021b45f989b31f40296868ce","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-3cqr-58rm-57f8","aliases":["CVE-2019-20920","SNYK-JS-HANDLEBARS-534478"],"title":"Arbitrary Code Execution in Handlebars","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).","state":0,"publishedAt":"2022-02-10T20:38:19+00:00","modifiedAt":"2026-09-10T03:49:16.8864856+00:00","affected":[{"ecosystem":"npm","name":"handlebars","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.0.8"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"handlebars","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0"},{"kind":"fixed","version":"4.5.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2019-20920","https://github.com/handlebars-lang/handlebars.js/commit/156061eb7707575293613d7fdf90e2bdaac029ee","https://github.com/handlebars-lang/handlebars.js/commit/d54137810a49939fd2ad01a91a34e182ece4528e","https://snyk.io/vuln/SNYK-JS-HANDLEBARS-534478","https://www.npmjs.com/advisories/1316","https://www.npmjs.com/advisories/1324","https://www.npmjs.com/package/handlebars"],"sourceUrl":"https://github.com/advisories/GHSA-3cqr-58rm-57f8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-3cqr-58rm-57f8","identifiers":["GHSA-3cqr-58rm-57f8","CVE-2019-20920","SNYK-JS-HANDLEBARS-534478"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-10T15:24:08.8188023+00:00","complete":true,"records":1773,"lastAttemptAt":"2026-11-10T15:24:08.8188023+00:00","lastSuccessAt":"2026-11-10T15:24:08.9790817+00:00","error":null,"lastVerifiedAt":"2026-11-10T15:24:08.9790869+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8859cf40d4337e24bd2f258cc7778fbad01bb24c79d057aaf34cf1dfc6f8917d-a0960c299e2dafbb2e8450fb21550287bc0c3b97298514596ae2b1697fb7bc3b","complete":true,"records":422070,"lastAttemptAt":"2026-11-10T15:21:29.3452518+00:00","lastSuccessAt":"2026-11-10T15:21:29.2151501+00:00","error":null,"lastVerifiedAt":"2026-11-10T15:21:29.3452518+00:00","snapshotPublishedAt":"2026-11-10T14:23:49+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-efc28183efe04e138ba7d91d47b051d0","complete":true,"records":13691,"lastAttemptAt":"2026-11-10T15:25:10.8168504+00:00","lastSuccessAt":"2026-11-10T13:22:39.879+00:00","error":null,"lastVerifiedAt":"2026-11-10T13:22:39.879+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13744,"expectedIdentifiers":13744,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-10T15:24:08.8188023+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-10T15:24:08.8188023+00:00","lastSuccessAt":"2026-11-10T15:24:08.9798315+00:00","error":null,"lastVerifiedAt":"2026-11-10T15:24:08.9798317+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-738cd6499f9748c9890b05108858c833","complete":false,"records":13697,"lastAttemptAt":"2026-11-10T15:25:10.154636+00:00","lastSuccessAt":"2026-11-10T15:25:10.15+00:00","error":"100 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-10T15:25:10.15+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13142,"expectedIdentifiers":13744,"failedIdentifiers":100},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-cdffb4589856378aa42e8d1bd4a6c74e27a180d8160bf764c44715ef760f0a62","complete":true,"records":9932,"lastAttemptAt":"2026-11-10T15:24:08.6813477+00:00","lastSuccessAt":"2026-11-10T00:04:19.8260565+00:00","error":null,"lastVerifiedAt":"2026-11-10T15:24:08.6813477+00:00","snapshotPublishedAt":"2026-11-09T23:48:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-26503967ae4379db8f374089589d6e03fb15bd31f820c9e992aaf93840c2236c","complete":true,"records":1971,"lastAttemptAt":"2026-11-10T15:21:29.495451+00:00","lastSuccessAt":"2026-11-09T21:02:20.472473+00:00","error":null,"lastVerifiedAt":"2026-11-10T15:21:29.495451+00:00","snapshotPublishedAt":"2026-11-09T20:18:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-df497239f2f75af38e095cb498791dad4044a8a9a7f5f0ee6008bb732579ab9d","complete":true,"records":3081,"lastAttemptAt":"2026-11-10T15:24:08.7869291+00:00","lastSuccessAt":"2026-11-10T14:21:34.3717399+00:00","error":null,"lastVerifiedAt":"2026-11-10T15:24:08.7869291+00:00","snapshotPublishedAt":"2026-11-10T14:18:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-db2f6ba81f9ad8cbb9260cd64e408b90232da96003174aeed666a4ce1c7aabd5","complete":true,"records":231599,"lastAttemptAt":"2026-11-10T15:24:08.5102562+00:00","lastSuccessAt":"2026-11-10T15:24:05.6823404+00:00","error":null,"lastVerifiedAt":"2026-11-10T15:24:08.5102562+00:00","snapshotPublishedAt":"2026-11-10T14:33:27+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}