{"id":"CVE-2019-19919","details":"Versions of handlebars prior to 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Object's __proto__ and __defineGetter__ properties, which may allow an attacker to execute arbitrary code through crafted payloads.","aliases":["GHSA-w457-6q6x-cgp9"],"modified":"2026-08-19T11:47:42.638183499Z","published":"2019-12-20T23:15:11.480Z","database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*"],"extracted_events":[{"fixed":"5.19.0"}],"source":"CPE_RANGE","vendor_product":"tenable:tenable.sc"}]},"references":[{"type":"ADVISORY","url":"https://www.npmjs.com/advisories/1164"},{"type":"FIX","url":"https://www.tenable.com/security/tns-2021-14"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/handlebars-lang/handlebars.js","events":[{"introduced":"f5289a35ecdbd35898fa6d291600ac9427930b44"},{"last_affected":"0d5c691f36baae183349c51c47228da45278c50a"}],"database_specific":{"extracted_events":[{"introduced":"1.0.6-NA"},{"last_affected":"1.0.6-NA"},{"introduced":"1.0.7-NA"},{"last_affected":"1.0.7-NA"},{"introduced":"1.0.8-NA"},{"last_affected":"1.0.8-NA"},{"introduced":"1.0.9-NA"},{"last_affected":"1.0.9-NA"},{"introduced":"1.0.10-NA"},{"last_affected":"1.0.10-NA"},{"introduced":"1.0.11-NA"},{"last_affected":"1.0.11-NA"},{"introduced":"1.0.12-NA"},{"last_affected":"1.0.12-NA"},{"introduced":"1.1.0-NA"},{"last_affected":"1.1.0-NA"},{"introduced":"1.1.1-NA"},{"last_affected":"1.1.1-NA"},{"introduced":"1.1.2-NA"},{"last_affected":"1.1.2-NA"},{"introduced":"1.2.0-NA"},{"last_affected":"1.2.0-NA"},{"introduced":"1.2.1-NA"},{"last_affected":"1.2.1-NA"},{"introduced":"1.3.0-NA"},{"last_affected":"1.3.0-NA"},{"introduced":"2.0.0-NA"},{"last_affected":"2.0.0-NA"},{"introduced":"3.0.0-NA"},{"last_affected":"3.0.0-NA"},{"introduced":"3.0.1-NA"},{"last_affected":"3.0.1-NA"},{"introduced":"3.0.2-NA"},{"last_affected":"3.0.2-NA"},{"introduced":"3.0.3-NA"},{"last_affected":"3.0.3-NA"},{"introduced":"3.0.4-NA"},{"last_affected":"3.0.4-NA"},{"introduced":"3.0.5-NA"},{"last_affected":"3.0.5-NA"},{"introduced":"3.0.6-NA"},{"last_affected":"3.0.6-NA"},{"introduced":"3.0.7-NA"},{"last_affected":"3.0.7-NA"},{"introduced":"4.0.0-NA"},{"last_affected":"4.0.0-NA"},{"introduced":"4.0.1-NA"},{"last_affected":"4.0.1-NA"},{"introduced":"4.0.2-NA"},{"last_affected":"4.0.2-NA"},{"introduced":"4.0.3-NA"},{"last_affected":"4.0.3-NA"},{"introduced":"4.0.4-NA"},{"last_affected":"4.0.4-NA"},{"introduced":"4.0.5-NA"},{"last_affected":"4.0.5-NA"},{"introduced":"4.0.6-NA"},{"last_affected":"4.0.6-NA"},{"introduced":"4.0.7-NA"},{"last_affected":"4.0.7-NA"},{"introduced":"4.0.8-NA"},{"last_affected":"4.0.8-NA"},{"introduced":"4.0.9-NA"},{"last_affected":"4.0.9-NA"},{"introduced":"4.0.10-NA"},{"last_affected":"4.0.10-NA"},{"introduced":"4.0.11-NA"},{"last_affected":"4.0.11-NA"},{"introduced":"4.0.12-NA"},{"last_affected":"4.0.12-NA"},{"introduced":"4.0.13-NA"},{"last_affected":"4.0.13-NA"},{"introduced":"4.0.14-NA"},{"last_affected":"4.0.14-NA"},{"introduced":"4.1.0-NA"},{"last_affected":"4.1.0-NA"},{"introduced":"4.1.1-NA"},{"last_affected":"4.1.1-NA"},{"introduced":"4.1.2-NA"},{"last_affected":"4.1.2-NA"},{"introduced":"4.2.0-NA"},{"last_affected":"4.2.0-NA"},{"introduced":"4.2.1-NA"},{"last_affected":"4.2.1-NA"},{"introduced":"4.2.2-NA"},{"last_affected":"4.2.2-NA"}],"source":"CPE_STRING","cpe":["cpe:2.3:a:handlebars.js_project:handlebars.js:1.0.6:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.0.7:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.0.8:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.0.9:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.0.10:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.0.11:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.0.12:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.1.0:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.1.1:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.1.2:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.2.0:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.2.1:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:1.3.0:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:2.0.0:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:3.0.0:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:3.0.1:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:3.0.2:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:3.0.3:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:3.0.4:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:3.0.5:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:3.0.6:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:3.0.7:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.0:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.1:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.2:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.3:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.4:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.5:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.6:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.7:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.8:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.9:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.10:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.11:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.12:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.13:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.0.14:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.1.0:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.1.1:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.1.2:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.2.0:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.2.1:-:*:*:*:node.js:*:*","cpe:2.3:a:handlebars.js_project:handlebars.js:4.2.2:-:*:*:*:node.js:*:*"]}}],"versions":["1.0.10-NA","1.0.11-NA","1.0.12-NA","1.0.6-NA","1.0.7-NA","1.0.8-NA","1.0.9-NA","1.1.0-NA","1.1.1-NA","1.1.2-NA","1.2.0-NA","1.2.1-NA","1.3.0-NA","2.0.0-NA","3.0.0-NA","3.0.1-NA","3.0.2-NA","3.0.3-NA","3.0.4-NA","3.0.5-NA","3.0.6-NA","3.0.7-NA","4.0.0-NA","4.0.1-NA","4.0.10-NA","4.0.11-NA","4.0.12-NA","4.0.13-NA","4.0.14-NA","4.0.2-NA","4.0.3-NA","4.0.4-NA","4.0.5-NA","4.0.6-NA","4.0.7-NA","4.0.8-NA","4.0.9-NA","4.1.0-NA","4.1.1-NA","4.1.2-NA","4.2.0-NA","4.2.1-NA","4.2.2-NA","v4.2.2","v4.2.1","v4.2.0","v4.1.2-0","v4.1.2","v1.3.0","v4.1.1","v4.0.12","v4.0.11","v4.0.10","v4.0.9","v4.0.8","v4.0.7","v4.0.6","v4.0.5","v3.0.3","v4.0.4","v4.0.3","v4.0.2","v4.0.1","v4.0.0","v3.0.2","v3.0.1","v3.0.0","v2.0.0","v2.0.0-beta.1","v2.0.0-alpha.4","v2.0.0-alpha.3","v2.0.0-alpha.2","v2.0.0-alpha.1","v1.2.1","v1.2.0","v1.1.2","v1.1.1","v1.1.0","v1.0.12","1.0.0","v1.0.11","1.0.0-rc.4","v1.0.10","v1.0.9","1.0.0-rc.3","v1.0.8","1.0.rc.2","v1.0.6-2","v1.0.6"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-19919.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}