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

erusev/parsedown-1.6.0: 2 vulnerabilities (highest severity is: 8.1) #55

Open
dev-mend-for-github-com bot opened this issue Dec 7, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@dev-mend-for-github-com
Copy link

dev-mend-for-github-com bot commented Dec 7, 2023

Vulnerable Library - erusev/parsedown-1.6.0

Parser for Markdown.

Library home page: https://api.github.com/repos/erusev/parsedown/zipball/3ebbd730b5c2cf5ce78bc1bf64071407fc6674b7

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (erusev/parsedown version) Remediation Possible** Reachability
CVE-2019-10905 High 8.1 erusev/parsedown-1.6.0 Direct 1.7.2
CVE-2018-1000162 Medium 6.1 erusev/parsedown-1.6.0 Direct 1.7.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2019-10905

Vulnerable Library - erusev/parsedown-1.6.0

Parser for Markdown.

Library home page: https://api.github.com/repos/erusev/parsedown/zipball/3ebbd730b5c2cf5ce78bc1bf64071407fc6674b7

Dependency Hierarchy:

  • erusev/parsedown-1.6.0 (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Parsedown before 1.7.2, when safe mode is used and HTML markup is disabled, might allow attackers to execute arbitrary JavaScript code if a script (already running on the affected page) executes the contents of any element with a specific class. This occurs because spaces are permitted in code block infostrings, which interferes with the intended behavior of a single class name beginning with the language- substring.

Publish Date: 2019-04-06

URL: CVE-2019-10905

CVSS 3 Score Details (8.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10905

Release Date: 2019-04-06

Fix Resolution: 1.7.2

CVE-2018-1000162

Vulnerable Library - erusev/parsedown-1.6.0

Parser for Markdown.

Library home page: https://api.github.com/repos/erusev/parsedown/zipball/3ebbd730b5c2cf5ce78bc1bf64071407fc6674b7

Dependency Hierarchy:

  • erusev/parsedown-1.6.0 (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in setMarkupEscaped for escaping HTML that can result in JavaScript code execution. This attack appears to be exploitable via specially crafted markdown that allows it to side step HTML escaping by breaking AST boundaries. This vulnerability appears to have been fixed in 1.7.0 and later.
Mend Note: Converted from WS-2018-0027, on 2022-11-08.

Publish Date: 2018-04-18

URL: CVE-2018-1000162

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://nvd.nist.gov/vuln/detail/CVE-2018-1000162

Release Date: 2018-04-18

Fix Resolution: 1.7.0

@dev-mend-for-github-com dev-mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Dec 7, 2023
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title erusev/parsedown-1.6.0: 2 vulnerabilities (highest severity is: 8.1) erusev/parsedown-1.6.0: 1 vulnerabilities (highest severity is: 8.1) Mar 22, 2024
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title erusev/parsedown-1.6.0: 1 vulnerabilities (highest severity is: 8.1) erusev/parsedown-1.6.0: 1 vulnerabilities (highest severity is: 6.1) Jul 1, 2024
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title erusev/parsedown-1.6.0: 1 vulnerabilities (highest severity is: 6.1) erusev/parsedown-1.6.0: 2 vulnerabilities (highest severity is: 8.1) Jul 2, 2024
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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants