CVE-2019-19919
CRITICAL9.8EPSS 24.8%Prototype Pollution in handlebars
Published: 12/26/2019Modified: 2/4/2026
Description
Versions of `handlebars` prior to 3.0.8 or 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Objects' `__proto__` and `__defineGetter__` properties, which may allow an attacker to execute arbitrary code through crafted payloads. ## Recommendation Upgrade to version 3.0.8, 4.3.0 or later.
Affected packages (3)
- Debian/node-handlebarsfrom 0, < 3:4.5.3-1
- npm/handlebars>= 4.0.0, < 4.3.0
- RubyGems/bootstrap-wysihtml5-rails>= 0.3.3.5, <= 0.3.3.8
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-19919
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2019-19919
- PATCHhttps://github.com/wycats/handlebars.js
- WEBhttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19919
- WEBhttps://github.com/handlebars-lang/handlebars.js/commit/156061eb7707575293613d7fdf90e2bdaac029ee
- WEBhttps://github.com/handlebars-lang/handlebars.js/commit/90ad8d97ad2933852fb83fcc054699dc99e094db
- WEBhttps://github.com/Nerian/bootstrap-wysihtml5-rails/blob/master/vendor/assets/javascripts/bootstrap-wysihtml5/handlebars.runtime.min.js
- WEBhttps://github.com/Nerian/bootstrap-wysihtml5-rails/tree/master/vendor/assets/javascripts/bootstrap-wysihtml5
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-wysihtml5-rails/CVE-2019-19919.yml
- WEBhttps://github.com/wycats/handlebars.js/commit/2078c727c627f25d4a149962f05c1e069beb18bc
- WEBhttps://github.com/wycats/handlebars.js/issues/1558
- WEBhttps://www.tenable.com/security/tns-2021-14