{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-19919","id":"CVE-2019-19919","title":"Prototype Pollution in handlebars","description":"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.","descriptionLong":"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.","published":"2019-12-20T22:50:39.000Z","updated":"2026-10-24T10:31:02.781723518Z","reserved":"2019-12-20T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"handlebars","purl":"pkg:npm/handlebars","ranges":[">=4.0.0 <4.3.0","<3.0.8"],"fixed":["4.3.0","3.0.8"],"advisory":"GHSA-w457-6q6x-cgp9"},{"ecosystem":"RubyGems","name":"bootstrap-wysihtml5-rails","purl":"pkg:gem/bootstrap-wysihtml5-rails","ranges":[">=0.3.3.5 <=0.3.3.8"],"fixed":[],"advisory":"GHSA-w457-6q6x-cgp9"}],"cwes":["CWE-1321","CWE-74"],"aliases":["GHSA-w457-6q6x-cgp9"],"references":[{"url":"https://www.npmjs.com/advisories/1164","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-19919","tags":["advisory"]},{"url":"https://github.com/wycats/handlebars.js/issues/1558","tags":["web"]},{"url":"https://github.com/handlebars-lang/handlebars.js/commit/156061eb7707575293613d7fdf90e2bdaac029ee","tags":["web"]},{"url":"https://github.com/handlebars-lang/handlebars.js/commit/90ad8d97ad2933852fb83fcc054699dc99e094db","tags":["web"]},{"url":"https://github.com/wycats/handlebars.js/commit/2078c727c627f25d4a149962f05c1e069beb18bc","tags":["web"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19919","tags":["web"]},{"url":"https://github.com/Nerian/bootstrap-wysihtml5-rails/blob/master/vendor/assets/javascripts/bootstrap-wysihtml5/handlebars.runtime.min.js","tags":["web"]},{"url":"https://github.com/Nerian/bootstrap-wysihtml5-rails/tree/master/vendor/assets/javascripts/bootstrap-wysihtml5","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-wysihtml5-rails/CVE-2019-19919.yml","tags":["web"]},{"url":"https://github.com/wycats/handlebars.js","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.07066,"epssPercentile":0.94327,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-19919","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-19919","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-19919","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w457-6q6x-cgp9","ok":true,"note":"GHSA-w457-6q6x-cgp9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-19919","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["ruby"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}