CVE Catalog

CVE-2019-19919

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

Applications using vulnerable handlebars versions to render templates with user-supplied data may allow an attacker to execute code in the Node.js process context. This can result in full application compromise.

Recommendation

Upgrade handlebars to version 4.3.0 or later. Check transitive dependencies that may use older handlebars versions.

Other vulnerabilities in handlebars

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS