CVE-2019-19919 — Prototype Pollution in handlebars — CVE Details
Prototype Pollution in handlebars
Summary
Advisory Timeline
- First published December 26, 2019 (2482 days ago).
- Last revised September 10, 2026 — 2449 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install handlebars@4.3.0
npm install handlebars@3.0.8
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 2 ecosystems: npm (1), rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| handlebars | npm | All versions | 4.3.0 |
| handlebars | npm | All versions | 3.0.8 |
| bootstrap-wysihtml5-rails | rubygems | 0.3.3.5, 0.3.3.6, 0.3.3.7, 0.3.3.8 | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
- CWE-74
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-19919ADVISORY
- https://github.com/wycats/handlebars.js/issues/1558WEB
- https://github.com/handlebars-lang/handlebars.js/commit/156061eb7707575293613d7fdf90e2bdaac029eeWEB
- https://github.com/handlebars-lang/handlebars.js/commit/90ad8d97ad2933852fb83fcc054699dc99e094dbWEB
- https://github.com/wycats/handlebars.js/commit/2078c727c627f25d4a149962f05c1e069beb18bcWEB
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19919WEB
- https://github.com/Nerian/bootstrap-wysihtml5-rails/blob/master/vendor/assets/javascripts/bootstrap-wysihtml5/handlebars.runtime.min.jsWEB
- https://github.com/Nerian/bootstrap-wysihtml5-rails/tree/master/vendor/assets/javascripts/bootstrap-wysihtml5WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-wysihtml5-rails/CVE-2019-19919.ymlWEB
- https://github.com/wycats/handlebars.jsPACKAGE
- https://www.tenable.com/security/tns-2021-14WEB
Frequently Asked Questions
- What is CVE-2019-19919?
- Prototype Pollution in handlebars This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2019-19919?
- CVE-2019-19919 affects handlebars and bootstrap-wysihtml5-rails. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-19919 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-33937CRITICAL
Handlebars.js has JavaScript Injection via AST Type Confusion
- CVE-2026-106446CRITICAL
Handlebars: JavaScript Injection via AST Type Confusion in compile (bypass of CVE-2026-33937)
- CVE-2026-106445CRITICAL
Handlebars: JavaScript Injection via Own Property Check Bypass
- CVE-2026-107722CRITICAL
fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion
- CVE-2026-108261CRITICAL
TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies