CVE-2021-39199 - High Severity Vulnerability
Vulnerable Library - remark-html-7.0.0.tgz
Compile Markdown to HTML with remark
Library home page: https://registry.npmjs.org/remark-html/-/remark-html-7.0.0.tgz
Path to dependency file: node/tools/doc/package.json
Path to vulnerable library: node_modules/remark-html/package.json
Dependency Hierarchy:
- ❌ remark-html-7.0.0.tgz (Vulnerable Library)
Found in base branch: master
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
CVE-2021-39199 - High Severity Vulnerability
Compile Markdown to HTML with remark
Library home page: https://registry.npmjs.org/remark-html/-/remark-html-7.0.0.tgz
Path to dependency file: node/tools/doc/package.json
Path to vulnerable library: node_modules/remark-html/package.json
Dependency Hierarchy:
Found in base branch: master
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-htmlis now safe by default, and the implementation matches the documentation. On older affected versions, passsanitize: trueif you cannot update.Publish Date: 2021-09-07
URL: CVE-2021-39199
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.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