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.
CVE-2019-19919 - Critical Severity Vulnerability
Vulnerable Library - handlebars-4.1.0.min.js
Handlebars provides the power necessary to let you build semantic templates effectively with no frustration
Library home page: https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.0/handlebars.min.js
Path to dependency file: /client/login.html
Path to vulnerable library: /client/login.html
Dependency Hierarchy: - :x: **handlebars-4.1.0.min.js** (Vulnerable Library)
Found in HEAD commit: 704cf8c77cf1b31b5b84af2b3eec982716c61645
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2019-12-20
URL: CVE-2019-19919
CVSS 3 Score Details (9.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-w457-6q6x-cgp9
Release Date: 2019-12-20
Fix Resolution: handlebars - 3.0.8,4.3.0
Step up your Open Source Security Game with Mend here