Skip to content

markdown-toc-1.2.0.tgz: 3 vulnerabilities (highest severity is: 6.1) #31

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - markdown-toc-1.2.0.tgz

Path to dependency file: /node/package.json

Path to vulnerable library: /node/node_modules/autolinker/package.json

Found in HEAD commit: 277c9c84bc37b1a17e322bc9543ff57f70ff36ab

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (markdown-toc version) Remediation Possible**
WS-2017-3770 Medium 6.1 autolinker-0.28.1.tgz Transitive N/A*
WS-2019-0540 Medium 5.3 autolinker-0.28.1.tgz Transitive N/A*
CVE-2025-64718 Medium 5.3 js-yaml-3.14.1.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

WS-2017-3770

Vulnerable Library - autolinker-0.28.1.tgz

Utility to automatically link the URLs, email addresses, and Twitter handles in a given block of text/HTML

Library home page: https://registry.npmjs.org/autolinker/-/autolinker-0.28.1.tgz

Path to dependency file: /node/package.json

Path to vulnerable library: /node/node_modules/autolinker/package.json

Dependency Hierarchy:

  • markdown-toc-1.2.0.tgz (Root Library)
    • remarkable-1.7.4.tgz
      • autolinker-0.28.1.tgz (Vulnerable Library)

Found in HEAD commit: 277c9c84bc37b1a17e322bc9543ff57f70ff36ab

Found in base branch: main

Vulnerability Details

Cross-site Scripting (XSS) vulnerability was found in autolinker before 3.14.0. User input passed to the innerHTML tags isn't sanitized.

Publish Date: 2017-02-15

URL: WS-2017-3770

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

Release Date: 2017-02-15

Fix Resolution: autolinker - 3.14.0

Step up your Open Source Security Game with Mend here

WS-2019-0540

Vulnerable Library - autolinker-0.28.1.tgz

Utility to automatically link the URLs, email addresses, and Twitter handles in a given block of text/HTML

Library home page: https://registry.npmjs.org/autolinker/-/autolinker-0.28.1.tgz

Path to dependency file: /node/package.json

Path to vulnerable library: /node/node_modules/autolinker/package.json

Dependency Hierarchy:

  • markdown-toc-1.2.0.tgz (Root Library)
    • remarkable-1.7.4.tgz
      • autolinker-0.28.1.tgz (Vulnerable Library)

Found in HEAD commit: 277c9c84bc37b1a17e322bc9543ff57f70ff36ab

Found in base branch: main

Vulnerability Details

Denial of Service (DoS) vulnerability was found in autolinker before 3.0.0. Unterminated img src causes long execution.

Publish Date: 2019-01-08

URL: WS-2019-0540

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2019-01-08

Fix Resolution: autolinker - 3.0.0

Step up your Open Source Security Game with Mend here

CVE-2025-64718

Vulnerable Library - js-yaml-3.14.1.tgz

YAML 1.2 parser and serializer

Library home page: https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz

Path to dependency file: /node/package.json

Path to vulnerable library: /node/node_modules/js-yaml/package.json

Dependency Hierarchy:

  • markdown-toc-1.2.0.tgz (Root Library)
    • gray-matter-2.1.1.tgz
      • js-yaml-3.14.1.tgz (Vulnerable Library)

Found in HEAD commit: 277c9c84bc37b1a17e322bc9543ff57f70ff36ab

Found in base branch: main

Vulnerability Details

js-yaml is a JavaScript YAML parser and dumper. In js-yaml 4.1.0 and below, it's possible for an attacker to modify the prototype of the result of a parsed yaml document via prototype pollution ("proto"). All users who parse untrusted yaml documents may be impacted. The problem is patched in js-yaml 4.1.1. Users can protect against this kind of attack on the server by using "node --disable-proto=delete" or "deno" (in Deno, pollution protection is on by default).

Publish Date: 2025-11-13

URL: CVE-2025-64718

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-mh29-5h37-fv8m

Release Date: 2025-11-13

Fix Resolution: js-yaml - 4.1.1

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions