kxxt / kxxt-website

My personal website powered by gatsby, hosted on vercel.
https://www.kxxt.dev
Other
5 stars 0 forks source link

CVE-2024-21501 (Medium) detected in sanitize-html-2.11.0.tgz #152

Open mend-bolt-for-github[bot] opened 5 months ago

mend-bolt-for-github[bot] commented 5 months ago

CVE-2024-21501 - Medium Severity Vulnerability

Vulnerable Library - sanitize-html-2.11.0.tgz

Library home page: https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.11.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy: - gatsby-transformer-remark-6.13.1.tgz (Root Library) - :x: **sanitize-html-2.11.0.tgz** (Vulnerable Library)

Found in HEAD commit: 50f91e8f19edfee259e1f0672ab3b00104b33d47

Found in base branch: master

Vulnerability Details

Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server.

Publish Date: 2024-02-24

URL: CVE-2024-21501

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: Low - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-21501

Release Date: 2024-02-24

Fix Resolution: sanitize-html - 2.12.1


Step up your Open Source Security Game with Mend here