Description
WS-2015-0003 - Medium Severity Vulnerability
Vulnerable Library - handlebars-1.0.rc.2.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/1.0.rc.2/handlebars.js
Path to dependency file: /spock/spock-report/src/main/resources/org/spockframework/report/report.html
Path to vulnerable library: /spock/spock-report/src/main/resources/org/spockframework/report/js/handlebars.js
Dependency Hierarchy:
- ❌ handlebars-1.0.rc.2.js (Vulnerable Library)
Found in HEAD commit: f74e959b2f262077e6d8f627af12bedae16c3e74
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.