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

CVE-2021-35513 (Medium) detected in mermaid-8.8.1.min.js #161

Open
mend-for-github-com bot opened this issue Nov 10, 2022 · 0 comments
Open

CVE-2021-35513 (Medium) detected in mermaid-8.8.1.min.js #161

mend-for-github-com bot opened this issue Nov 10, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

CVE-2021-35513 - Medium Severity Vulnerability

Vulnerable Library - mermaid-8.8.1.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.8.1/mermaid.min.js

Path to dependency file: /docs-src/themes/tibcolabs/layouts/partials/scripts.html

Path to vulnerable library: /docs-src/themes/tibcolabs/layouts/partials/scripts.html

Dependency Hierarchy:

  • mermaid-8.8.1.min.js (Vulnerable Library)

Found in HEAD commit: 2b36f19c6531f1a3964d83923e752838cd9d62cb

Found in base branch: master

Vulnerability Details

Mermaid before 8.11.0 allows XSS when the antiscript feature is used.

Publish Date: 2021-06-27

URL: CVE-2021-35513

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: GHSA-4f6x-49g2-99fm

Release Date: 2021-06-27

Fix Resolution: mermaid - 8.11.0

@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants