AlexRogalskiy / github-action-user-contribution

👪 GitHub action for user contributions charts
https://github.com/marketplace/actions/user-contribution
GNU General Public License v3.0
1 stars 1 forks source link

CVE-2021-39199 (Medium) detected in remark-html-13.0.1.tgz #1856

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2021-39199 - Medium Severity Vulnerability

Vulnerable Library - remark-html-13.0.1.tgz

remark plugin to compile Markdown to HTML

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/remark-html/package.json

Dependency Hierarchy: - :x: **remark-html-13.0.1.tgz** (Vulnerable Library)

Found in HEAD commit: 1d5680af369691b0a0f262622f1ebab1c7c1ac47

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 (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://github.com/remarkjs/remark-html/security/advisories/GHSA-9q5w-79cv-947m

Release Date: 2021-09-07

Fix Resolution: 13.0.2


Step up your Open Source Security Game with WhiteSource here

github-actions[bot] commented 2 years ago

👋 Thanks for reporting!

github-actions[bot] commented 2 years ago

Message that will be displayed on users' first issue