Live threats

All CVEs / Handlebars.js Project

CVE-2019-19919Handlebars.js Project Handlebars.js

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Handlebars.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
handlebars.js_projecthandlebars.js1.0.6
handlebars.js_projecthandlebars.js1.0.7
handlebars.js_projecthandlebars.js1.0.8
handlebars.js_projecthandlebars.js1.0.9
handlebars.js_projecthandlebars.js1.0.10
handlebars.js_projecthandlebars.js1.0.11
handlebars.js_projecthandlebars.js1.0.12
handlebars.js_projecthandlebars.js1.1.0
handlebars.js_projecthandlebars.js1.1.1
handlebars.js_projecthandlebars.js1.1.2
handlebars.js_projecthandlebars.js1.2.0
handlebars.js_projecthandlebars.js1.2.1
handlebars.js_projecthandlebars.js1.3.0
handlebars.js_projecthandlebars.js2.0.0
handlebars.js_projecthandlebars.js3.0.0
handlebars.js_projecthandlebars.js3.0.1
handlebars.js_projecthandlebars.js3.0.2
handlebars.js_projecthandlebars.js3.0.3
handlebars.js_projecthandlebars.js3.0.4
handlebars.js_projecthandlebars.js3.0.5
handlebars.js_projecthandlebars.js3.0.6
handlebars.js_projecthandlebars.js3.0.7
handlebars.js_projecthandlebars.js4.0.0
handlebars.js_projecthandlebars.js4.0.1
handlebars.js_projecthandlebars.js4.0.2
handlebars.js_projecthandlebars.js4.0.3
handlebars.js_projecthandlebars.js4.0.4
handlebars.js_projecthandlebars.js4.0.5
handlebars.js_projecthandlebars.js4.0.6
handlebars.js_projecthandlebars.js4.0.7
handlebars.js_projecthandlebars.js4.0.8
handlebars.js_projecthandlebars.js4.0.9
handlebars.js_projecthandlebars.js4.0.10
handlebars.js_projecthandlebars.js4.0.11
handlebars.js_projecthandlebars.js4.0.12
handlebars.js_projecthandlebars.js4.0.13
handlebars.js_projecthandlebars.js4.0.14
handlebars.js_projecthandlebars.js4.1.0
handlebars.js_projecthandlebars.js4.1.1
handlebars.js_projecthandlebars.js4.1.2
handlebars.js_projecthandlebars.js4.2.0
handlebars.js_projecthandlebars.js4.2.1
handlebars.js_projecthandlebars.js4.2.2
tenabletenable.sc< 5.19.0

Official sources

References

Links published by the sources. Open them with care.