rlennon / whitesource_bolt_demo

Using OS code from Portainer to represent a relatively large project. Whitesource Bolt is used to scan the repo.
0 stars 0 forks source link

CVE-2024-6531 (Medium) detected in bootstrap-4.5.0.tgz #207

Open mend-bolt-for-github[bot] opened 1 month ago

mend-bolt-for-github[bot] commented 1 month ago

CVE-2024-6531 - Medium Severity Vulnerability

Vulnerable Library - bootstrap-4.5.0.tgz

The most popular front-end framework for developing responsive, mobile first projects on the web.

Library home page: https://registry.npmjs.org/bootstrap/-/bootstrap-4.5.0.tgz

Path to dependency file: /portainer-develop/portainer-develop/package.json

Path to vulnerable library: /portainer-develop/portainer-develop/node_modules/bootstrap/package.json

Dependency Hierarchy: - bootbox-5.4.0.tgz (Root Library) - :x: **bootstrap-4.5.0.tgz** (Vulnerable Library)

Found in HEAD commit: ec9d972edb7fb1ea028782bd0f770272d89e0c60

Found in base branch: main

Vulnerability Details

A vulnerability has been identified in Bootstrap that exposes users to Cross-Site Scripting (XSS) attacks. The issue is present in the carousel component, where the data-slide and data-slide-to attributes can be exploited through the href attribute of an tag due to inadequate sanitization. This vulnerability could potentially enable attackers to execute arbitrary JavaScript within the victim's browser.

Publish Date: 2024-07-11

URL: CVE-2024-6531

CVSS 3 Score Details (6.4)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: Low - Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-vc8w-jr9v-vj7f

Release Date: 2024-07-11

Fix Resolution (bootstrap): 5.0.0

Direct dependency fix Resolution (bootbox): 5.5.3


Step up your Open Source Security Game with Mend here