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-2016-10531 (Medium) detected in marked-0.3.19.js - autoclosed #226

Closed
mend-bolt-for-github bot opened this issue Dec 28, 2020 · 1 comment · Fixed by #297 or #114
Closed

CVE-2016-10531 (Medium) detected in marked-0.3.19.js - autoclosed #226

mend-bolt-for-github bot opened this issue Dec 28, 2020 · 1 comment · Fixed by #297 or #114
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Dec 28, 2020

CVE-2016-10531 - Medium Severity Vulnerability

Vulnerable Library - marked-0.3.19.js

A markdown parser built for speed

Library home page: https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.19/marked.js

Path to dependency file: grafana/node_modules/marksy/node_modules/marked/www/demo.html

Path to vulnerable library: grafana/node_modules/marksy/node_modules/marked/www/../lib/marked.js

Dependency Hierarchy:

  • marked-0.3.19.js (Vulnerable Library)

Found in HEAD commit: 494d3ade5b02fb069ecdd7a9a278fd2016f5f577

Found in base branch: datasource-meta

Vulnerability Details

marked is an application that is meant to parse and compile markdown. Due to the way that marked 0.3.5 and earlier parses input, specifically HTML entities, it's possible to bypass marked's content injection protection (sanitize: true) to inject a javascript: URL. This flaw exists because &#xNNanything; gets parsed to what it could and leaves the rest behind, resulting in just anything; being left.

Publish Date: 2018-05-31

URL: CVE-2016-10531

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10531

Release Date: 2018-05-31

Fix Resolution: 0.3.6


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Dec 28, 2020
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2016-10531 (Medium) detected in marked-0.3.19.js CVE-2016-10531 (Medium) detected in marked-0.3.19.js - autoclosed Oct 1, 2021
@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource 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
0 participants