Description
WS-2015-0003 - Medium Severity Vulnerability
Vulnerable Library - handlebars-1.1.2.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.1.2.tgz
Path to dependency file: /GulpStarter/package.json
Path to vulnerable library: /tmp/git/GulpStarter/node_modules/directory-encoder/node_modules/handlebars/package.json
Dependency Hierarchy:
- sc5-styleguide-1.9.0.tgz (Root Library)
- cssnext-1.8.4.tgz
- postcss-url-4.0.1.tgz
- directory-encoder-0.6.1.tgz
- ❌ handlebars-1.1.2.tgz (Vulnerable Library)
- directory-encoder-0.6.1.tgz
- postcss-url-4.0.1.tgz
- cssnext-1.8.4.tgz
Found in HEAD commit: f6dd84dc144feee598f0e1af4b7f989d4c43506a
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