CVE-2019-19919
CRITICAL 9.8CVSS 3.1Prototype Pollution in handlebars
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
- 20 Dec 2019
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1321CWE-74
- Also known as
- GHSA-w457-6q6x-cgp9
- Sources
- NVDJSONOSV GHSA-w457-6q6x-cgp9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.0.6:-:*:*:*:node.js:*:* |
= 1.0.6 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.0.7:-:*:*:*:node.js:*:* |
= 1.0.7 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.0.8:-:*:*:*:node.js:*:* |
= 1.0.8 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.0.9:-:*:*:*:node.js:*:* |
= 1.0.9 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.0.10:-:*:*:*:node.js:*:* |
= 1.0.10 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.0.11:-:*:*:*:node.js:*:* |
= 1.0.11 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.0.12:-:*:*:*:node.js:*:* |
= 1.0.12 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.1.0:-:*:*:*:node.js:*:* |
= 1.1.0 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.1.1:-:*:*:*:node.js:*:* |
= 1.1.1 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.1.2:-:*:*:*:node.js:*:* |
= 1.1.2 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.2.0:-:*:*:*:node.js:*:* |
= 1.2.0 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.2.1:-:*:*:*:node.js:*:* |
= 1.2.1 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:1.3.0:-:*:*:*:node.js:*:* |
= 1.3.0 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:2.0.0:-:*:*:*:node.js:*:* |
= 2.0.0 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:3.0.0:-:*:*:*:node.js:*:* |
= 3.0.0 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:3.0.1:-:*:*:*:node.js:*:* |
= 3.0.1 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:3.0.2:-:*:*:*:node.js:*:* |
= 3.0.2 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:3.0.3:-:*:*:*:node.js:*:* |
= 3.0.3 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:3.0.4:-:*:*:*:node.js:*:* |
= 3.0.4 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:3.0.5:-:*:*:*:node.js:*:* |
= 3.0.5 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:3.0.6:-:*:*:*:node.js:*:* |
= 3.0.6 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:3.0.7:-:*:*:*:node.js:*:* |
= 3.0.7 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.0:-:*:*:*:node.js:*:* |
= 4.0.0 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.1:-:*:*:*:node.js:*:* |
= 4.0.1 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.2:-:*:*:*:node.js:*:* |
= 4.0.2 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.3:-:*:*:*:node.js:*:* |
= 4.0.3 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.4:-:*:*:*:node.js:*:* |
= 4.0.4 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.5:-:*:*:*:node.js:*:* |
= 4.0.5 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.6:-:*:*:*:node.js:*:* |
= 4.0.6 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.7:-:*:*:*:node.js:*:* |
= 4.0.7 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.8:-:*:*:*:node.js:*:* |
= 4.0.8 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.9:-:*:*:*:node.js:*:* |
= 4.0.9 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.10:-:*:*:*:node.js:*:* |
= 4.0.10 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.11:-:*:*:*:node.js:*:* |
= 4.0.11 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.12:-:*:*:*:node.js:*:* |
= 4.0.12 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.13:-:*:*:*:node.js:*:* |
= 4.0.13 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.0.14:-:*:*:*:node.js:*:* |
= 4.0.14 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.1.0:-:*:*:*:node.js:*:* |
= 4.1.0 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.1.1:-:*:*:*:node.js:*:* |
= 4.1.1 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.1.2:-:*:*:*:node.js:*:* |
= 4.1.2 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.2.0:-:*:*:*:node.js:*:* |
= 4.2.0 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.2.1:-:*:*:*:node.js:*:* |
= 4.2.1 | |
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:4.2.2:-:*:*:*:node.js:*:* |
= 4.2.2 | |
| NVD | tenable | tenable.sccpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:* |
< 5.19.0 | 5.19.0 |
| OSV | npm | handlebars | >= 4.0.0, < 4.3.0 | 4.3.0 |
| OSV | RubyGems | bootstrap-wysihtml5-rails | >= 0.3.3.5, <= 0.3.3.8 | |
| OSV | npm | handlebars | < 3.0.8 | 3.0.8 |
References
- https://www.npmjs.com/advisories/1164 · Third Party Advisory
- https://www.tenable.com/security/tns-2021-14 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-19919 · ADVISORY
- https://github.com/wycats/handlebars.js/issues/1558 · WEB
- https://github.com/handlebars-lang/handlebars.js/commit/156061eb7707575293613d7fdf90e2bdaac029ee · WEB
- https://github.com/handlebars-lang/handlebars.js/commit/90ad8d97ad2933852fb83fcc054699dc99e094db · WEB
- https://github.com/wycats/handlebars.js/commit/2078c727c627f25d4a149962f05c1e069beb18bc · WEB
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19919 · WEB
- https://github.com/Nerian/bootstrap-wysihtml5-rails/blob/master/vendor/assets/javascripts/bootstrap-wysihtml5/handlebars.runtime.min.js · WEB
- https://github.com/Nerian/bootstrap-wysihtml5-rails/tree/master/vendor/assets/javascripts/bootstrap-wysihtml5 · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-wysihtml5-rails/CVE-2019-19919.yml · WEB
- https://github.com/wycats/handlebars.js · PACKAGE
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 20 Dec 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Dec 2019)