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-2019-0255 (Medium) detected in multiple libraries #25

Open
mend-for-github-com bot opened this issue Sep 14, 2022 · 0 comments
Open

WS-2019-0255 (Medium) detected in multiple libraries #25

mend-for-github-com bot opened this issue Sep 14, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Sep 14, 2022

WS-2019-0255 - Medium Severity Vulnerability

Vulnerable Libraries - mermaid.core-8.0.0-rc.8.js, mermaid-8.0.0-rc.8.min.js, mermaid-8.0.0-rc.8.js

mermaid.core-8.0.0-rc.8.js

Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0-rc.8/mermaid.core.js

Path to vulnerable library: /public/mermaid/mermaid.core.js

Dependency Hierarchy:

  • mermaid.core-8.0.0-rc.8.js (Vulnerable Library)
mermaid-8.0.0-rc.8.min.js

Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0-rc.8/mermaid.min.js

Path to vulnerable library: /public/mermaid/mermaid.min.js

Dependency Hierarchy:

  • mermaid-8.0.0-rc.8.min.js (Vulnerable Library)
mermaid-8.0.0-rc.8.js

Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0-rc.8/mermaid.js

Path to vulnerable library: /public/mermaid/mermaid.js

Dependency Hierarchy:

  • mermaid-8.0.0-rc.8.js (Vulnerable Library)

Found in HEAD commit: 86334f0df744f6cfa35a438987cbb4d18d65b5c2

Found in base branch: master

Vulnerability Details

In mermaid, versions prior to 8.2.3 are vulnerable to Cross-Site Scripting if malicious input is provided to the application, it will execute the code instead of rendering it as text due to improper output encoding.

Publish Date: 2019-07-22

URL: WS-2019-0255

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/751

Release Date: 2019-07-22

Fix Resolution: 8.2.3

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Sep 14, 2022
@mend-for-github-com mend-for-github-com bot changed the title WS-2019-0255 (Medium) detected in mermaid-8.0.0-rc.8.min.js, mermaid-8.0.0-rc.8.js WS-2019-0255 (Medium) detected in multiple libraries Sep 15, 2022
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