Skip to content

CVE-2021-39199 (High) detected in remark-html-8.0.0.tgz - autoclosed #319

Closed
@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2021-39199 - High Severity Vulnerability

Vulnerable Library - remark-html-8.0.0.tgz

Compile Markdown to HTML with remark

Library home page: https://registry.npmjs.org/remark-html/-/remark-html-8.0.0.tgz

Path to dependency file: angular/aio/package.json

Path to vulnerable library: angular/aio/node_modules/remark-html

Dependency Hierarchy:

  • remark-html-8.0.0.tgz (Vulnerable Library)

Found in base branch: labs/router

Vulnerability Details

remark-html is an open source nodejs library which compiles Markdown to HTML. In affected versions the documentation of remark-html has mentioned that it was safe by default. In practice the default was never safe and had to be opted into. That is, user input was not sanitized. This means arbitrary HTML can be passed through leading to potential XSS attacks. The problem has been patched in 13.0.2 and 14.0.1: remark-html is now safe by default, and the implementation matches the documentation. On older affected versions, pass sanitize: true if you cannot update.

Publish Date: 2021-09-07

URL: CVE-2021-39199

CVSS 3 Score Details (10.0)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-9q5w-79cv-947m

Release Date: 2021-09-07

Fix Resolution: remark-html - 13.0.2,14.0.1


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