Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WS-2016-0034 (High) detected in swagger-ui-2.0.2.js - autoclosed #17

Closed
mend-bolt-for-github bot opened this issue Feb 9, 2021 · 1 comment
Closed
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Feb 9, 2021

WS-2016-0034 - High Severity Vulnerability

Vulnerable Library - swagger-ui-2.0.2.js

Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API

Library home page: https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/2.0.2/swagger-ui.js

Path to dependency file: /node_modules/swagger-node-express/swagger-ui/index.html

Path to vulnerable library: /node_modules/swagger-node-express/swagger-ui/swagger-ui.js,/api/node_modules/swagger-node-express/swagger-ui/swagger-ui.js

Dependency Hierarchy:

  • swagger-ui-2.0.2.js (Vulnerable Library)

Found in HEAD commit: 25e18f75201eb2d7b67db4fd55e7c5c7bf6479b5

Found in base branch: master

Vulnerability Details

Swagger-ui has vulnerability when "Produces" and "consumes" Content-types in schema are not escaped and allow XSS

Publish Date: 2016-01-13

URL: WS-2016-0034

CVSS 3 Score Details (7.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2016-01-13

Fix Resolution: v2.1.5


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Feb 9, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title WS-2016-0034 (High) detected in swagger-ui-2.0.2.js WS-2016-0034 (High) detected in swagger-ui-2.0.2.js - autoclosed Apr 11, 2024
Copy link
Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants