Path to dependency file: /examples/forms_wizard/forms/userWarning/index.html
Path to vulnerable library: /examples/forms_wizard/forms/userWarning/index.html,/examples/forms_wizard/forms/userData/index.html,/examples/dynamic_form_values/forms/myForm/index.html,/examples/form_l10n/forms/myOtherForm/index.html,/examples/custom_form/forms/myForm/index.html
Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templates that execute arbitrary JavaScript. This can be used to run arbitrary code on a server processing Handlebars templates or in a victim's browser (effectively serving as XSS).
CVE-2019-20920 - High Severity Vulnerability
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.2/handlebars.min.js
Path to dependency file: /examples/forms_wizard/forms/userWarning/index.html
Path to vulnerable library: /examples/forms_wizard/forms/userWarning/index.html,/examples/forms_wizard/forms/userData/index.html,/examples/dynamic_form_values/forms/myForm/index.html,/examples/form_l10n/forms/myOtherForm/index.html,/examples/custom_form/forms/myForm/index.html
Dependency Hierarchy: - :x: **handlebars-4.1.2.min.js** (Vulnerable Library)
Found in HEAD commit: a0a888b3b97fbcfb092cc1f80f98558cfea2d71f
Found in base branch: master
Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templates that execute arbitrary JavaScript. This can be used to run arbitrary code on a server processing Handlebars templates or in a victim's browser (effectively serving as XSS).
Publish Date: 2020-09-30
URL: CVE-2019-20920
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Changed - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: Low - Availability Impact: Low
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: https://www.npmjs.com/advisories/1316
Release Date: 2020-10-15
Fix Resolution: handlebars - 4.5.3