All CVEs / Handlebars.js Project
CVE-2019-19919Handlebars.js Project Handlebars.js
Critical 9.8 No auth needed
Follow: this CVE · Handlebars.js Project · Handlebars.js Project Handlebars.js We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.8
- EPSS
- 7.1% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Dec 20, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Handlebars.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | bootstrap-wysihtml5-rails |
≥ 0.3.3.5 ≤ 0.3.3.8 |
no fixed version | — |
| npm | handlebars |
≥ 4.0.0 < 4.3.0 |
4.3.0 |
npm install handlebars@4.3.0 |
| npm | handlebars |
< 3.0.8 |
3.0.8 |
npm install handlebars@3.0.8 |
Per OSV / GitHub Advisories (GHSA-w457-6q6x-cgp9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| handlebars.js_project | handlebars.js | 1.0.6 |
| handlebars.js_project | handlebars.js | 1.0.7 |
| handlebars.js_project | handlebars.js | 1.0.8 |
| handlebars.js_project | handlebars.js | 1.0.9 |
| handlebars.js_project | handlebars.js | 1.0.10 |
| handlebars.js_project | handlebars.js | 1.0.11 |
| handlebars.js_project | handlebars.js | 1.0.12 |
| handlebars.js_project | handlebars.js | 1.1.0 |
| handlebars.js_project | handlebars.js | 1.1.1 |
| handlebars.js_project | handlebars.js | 1.1.2 |
| handlebars.js_project | handlebars.js | 1.2.0 |
| handlebars.js_project | handlebars.js | 1.2.1 |
| handlebars.js_project | handlebars.js | 1.3.0 |
| handlebars.js_project | handlebars.js | 2.0.0 |
| handlebars.js_project | handlebars.js | 3.0.0 |
| handlebars.js_project | handlebars.js | 3.0.1 |
| handlebars.js_project | handlebars.js | 3.0.2 |
| handlebars.js_project | handlebars.js | 3.0.3 |
| handlebars.js_project | handlebars.js | 3.0.4 |
| handlebars.js_project | handlebars.js | 3.0.5 |
| handlebars.js_project | handlebars.js | 3.0.6 |
| handlebars.js_project | handlebars.js | 3.0.7 |
| handlebars.js_project | handlebars.js | 4.0.0 |
| handlebars.js_project | handlebars.js | 4.0.1 |
| handlebars.js_project | handlebars.js | 4.0.2 |
| handlebars.js_project | handlebars.js | 4.0.3 |
| handlebars.js_project | handlebars.js | 4.0.4 |
| handlebars.js_project | handlebars.js | 4.0.5 |
| handlebars.js_project | handlebars.js | 4.0.6 |
| handlebars.js_project | handlebars.js | 4.0.7 |
| handlebars.js_project | handlebars.js | 4.0.8 |
| handlebars.js_project | handlebars.js | 4.0.9 |
| handlebars.js_project | handlebars.js | 4.0.10 |
| handlebars.js_project | handlebars.js | 4.0.11 |
| handlebars.js_project | handlebars.js | 4.0.12 |
| handlebars.js_project | handlebars.js | 4.0.13 |
| handlebars.js_project | handlebars.js | 4.0.14 |
| handlebars.js_project | handlebars.js | 4.1.0 |
| handlebars.js_project | handlebars.js | 4.1.1 |
| handlebars.js_project | handlebars.js | 4.1.2 |
| handlebars.js_project | handlebars.js | 4.2.0 |
| handlebars.js_project | handlebars.js | 4.2.1 |
| handlebars.js_project | handlebars.js | 4.2.2 |
| tenable | tenable.sc | < 5.19.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.npmjs.com Third Party Advisory
- www.tenable.com Patch Third Party Advisory