Skip to content

WS-2015-0020 (High) detected in marked-0.1.9.tgz - autoclosed #158

@mend-bolt-for-github

Description

@mend-bolt-for-github

WS-2015-0020 - High Severity Vulnerability

Vulnerable Library - marked-0.1.9.tgz

A markdown parser built for speed

Library home page: https://registry.npmjs.org/marked/-/marked-0.1.9.tgz

Path to dependency file: node/tools/doc/package.json

Path to vulnerable library: node/tools/doc/node_modules/marked/package.json

Dependency Hierarchy:

  • marked-0.1.9.tgz (Vulnerable Library)

Found in base branch: archived-io.js-v0.10

Vulnerability Details

Marked is an application that is meant to parse and compile markdown. Due to the way that marked parses input, specifically HTML entities, it's possible to bypass marked's content injection protection (sanitize: true) to inject a javascript: URL.

Publish Date: 2015-05-20

URL: WS-2015-0020

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: N/A
    • Attack Complexity: N/A
    • Privileges Required: N/A
    • User Interaction: N/A
    • Scope: N/A
  • Impact Metrics:
    • Confidentiality Impact: N/A
    • Integrity Impact: N/A
    • Availability Impact: N/A

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nodesecurity.io/advisories/101

Release Date: 2016-04-18

Fix Resolution: To mitigate the flaw you have a couple of options. There's a [pull request](https://github.com/markedjs/marked/pull/592) open that fixes this issue. Another option would be to switch to another markdown library such as remarkable.


Step up your Open Source Security Game with WhiteSource here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions