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, allowi...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:18.04:LTSnode-handlebars |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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).
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report snyk.io
- report npmjs.com
- report npmjs.com
- report cve.org