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: /push-button/client/package.json
Path to vulnerable library: /tmp/git/push-button/client/node_modules/handlebars/package.json
Dependency Hierarchy:
- cli-1.1.1.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: 57af924daa9373d491eb3522685d80412ef4100a
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