Description
WS-2015-0003 - Medium Severity Vulnerability
Vulnerable Library - handlebars-2.0.0.min.js
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/2.0.0/handlebars.min.js
Path to vulnerable library: /docker.github.io/apidocs/v1.4.0/lib/handlebars-2.0.0.js,/docker.github.io/apidocs/v2.0.1/lib/handlebars-2.0.0.js,/docker.github.io/datacenter/dtr/2.2/reference/api/lib/handlebars-2.0.0.js,/docker.github.io/apidocs/v2.0.0/lib/handlebars-2.0.0.js,/docker.github.io/apidocs/v1.3.3/lib/handlebars-2.0.0.js,/docker.github.io/datacenter/dtr/2.1/reference/api/lib/handlebars-2.0.0.js,/docker.github.io/apidocs/v2.0.1/lib/handlebars-2.0.0.js,/docker.github.io/datacenter/dtr/2.2/reference/api/lib/handlebars-2.0.0.js,/docker.github.io/apidocs/v1.3.3/lib/handlebars-2.0.0.js,/docker.github.io/apidocs/v2.0.0/lib/handlebars-2.0.0.js,/docker.github.io/datacenter/dtr/2.1/reference/api/lib/handlebars-2.0.0.js,/docker.github.io/apidocs/v1.4.0/lib/handlebars-2.0.0.js
Dependency Hierarchy:
- ❌ handlebars-2.0.0.min.js (Vulnerable Library)
Found in HEAD commit: 7874f1a89a7ab0c4d9a4080ff5baa89d00a714f1
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