moqui / moqui-runtime

The default runtime directory for Moqui Framework
Other
37 stars 78 forks source link

CVE-2015-8861 (Medium) detected in handlebars-2.0.0.min.js #185

Closed mend-bolt-for-github[bot] closed 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2015-8861 - 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 dependency file: /base-component/tools/screen/toolstatic/lib/swagger-ui/index.html

Path to vulnerable library: /base-component/tools/screen/toolstatic/lib/swagger-ui/lib/handlebars-2.0.0.js,/base-component/tools/screen/toolstatic/lib/swagger-ui/lib/handlebars-2.0.0.js

Dependency Hierarchy: - :x: **handlebars-2.0.0.min.js** (Vulnerable Library)

Found in HEAD commit: f5e5c8ccc2d14a1a2f4657ec2306e20c51039f21

Found in base branch: master

Vulnerability Details

The handlebars package before 4.0.0 for Node.js allows remote attackers to conduct cross-site scripting (XSS) attacks by leveraging a template with an attribute that is not quoted.

Publish Date: 2017-01-23

URL: CVE-2015-8861

CVSS 3 Score Details (6.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/61

Release Date: 2017-01-23

Fix Resolution: 4.0.0


Step up your Open Source Security Game with WhiteSource here

jonesde commented 2 years ago

Fixed with update of Swagger UI to 4.1.3 using CDNJS for JS and CSS files, easier to update and trims the feature of embedded Swagger UI to one little html file.