Description
Vulnerable Library - bootstrap-4.6.0-2.min.js
The most popular front-end framework for developing responsive, mobile first projects on the web.
Library home page: https://cdnjs.cloudflare.com/ajax/libs/bootstrap-v4-rtl/4.6.0-2/js/bootstrap.min.js
Path to dependency file: /src/ui/index.html
Path to vulnerable library: /src/ui/index.html
Found in HEAD commit: d3541aa3e3fabe96b343bad4a2627e5d1fbf8c36
Vulnerabilities
Vulnerability | Severity | Dependency | Type | Fixed in (bootstrap version) | Remediation Possible** | |
---|---|---|---|---|---|---|
CVE-2024-6531 | 6.4 | bootstrap-4.6.0-2.min.js | Direct | bootstrap - 5.0.0 | ❌ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-6531
Vulnerable Library - bootstrap-4.6.0-2.min.js
The most popular front-end framework for developing responsive, mobile first projects on the web.
Library home page: https://cdnjs.cloudflare.com/ajax/libs/bootstrap-v4-rtl/4.6.0-2/js/bootstrap.min.js
Path to dependency file: /src/ui/index.html
Path to vulnerable library: /src/ui/index.html
Dependency Hierarchy:
- ❌ bootstrap-4.6.0-2.min.js (Vulnerable Library)
Found in HEAD commit: d3541aa3e3fabe96b343bad4a2627e5d1fbf8c36
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
Suggested Fix
Type: Upgrade version
Origin: GHSA-vc8w-jr9v-vj7f
Release Date: 2024-07-11
Fix Resolution: bootstrap - 5.0.0
Step up your Open Source Security Game with Mend here