Description
WS-2015-0003 - Medium Severity Vulnerability
Vulnerable Library - handlebars-1.3.0.tgz
Handlebars provides the power necessary to let you build semantic templates effectively with no frustration
Library home page: https://registry.npmjs.org/handlebars/-/handlebars-1.3.0.tgz
Path to dependency file: /mean-stack-angular2/client/package.json
Path to vulnerable library: /tmp/git/mean-stack-angular2/client/node_modules/handlebars/package.json
Dependency Hierarchy:
- cli-1.3.0.tgz (Root Library)
- postcss-url-5.1.2.tgz
- directory-encoder-0.7.2.tgz
- ❌ handlebars-1.3.0.tgz (Vulnerable Library)
- directory-encoder-0.7.2.tgz
- postcss-url-5.1.2.tgz
Found in HEAD commit: 78536c07269ce9c50e14ccb706d7d58b0ba6d615
Vulnerability Details
Quoteless Attributes in Templates can lead to Content Injection
Publish Date: 2015-12-14
URL: WS-2015-0003
Suggested Fix
Type: Upgrade version
Origin: https://nodesecurity.io/advisories/61
Release Date: 2015-12-14
Fix Resolution: If you are unable to upgrade to version 4.0.0 or greater you can add quotes to your attributes in your handlebar templates.
Step up your Open Source Security Game with WhiteSource here