myadmin-plugins / opensrs-domains

OpenSRS Domain Registrations for MyAdmin
6 stars 1 forks source link

CVE-2024-6531 (Medium) detected in phpunit/php-code-coverage-9.2.17, bootstrap-4.6.1.min.js #22

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

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

CVE-2024-6531 - Medium Severity Vulnerability

Vulnerable Libraries - phpunit/php-code-coverage-9.2.17, bootstrap-4.6.1.min.js

phpunit/php-code-coverage-9.2.17

Library that provides collection, processing, and rendering functionality for PHP code coverage information.

Library home page: https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/aa94dc41e8661fe90c7316849907cba3007b10d8

Dependency Hierarchy: - phpunit/phpunit-9.5.25 (Root Library) - :x: **phpunit/php-code-coverage-9.2.17** (Vulnerable Library)

bootstrap-4.6.1.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/4.6.1/js/bootstrap.min.js

Path to vulnerable library: /vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/js/bootstrap.min.js

Dependency Hierarchy: - :x: **bootstrap-4.6.1.min.js** (Vulnerable Library)

Found in HEAD commit: 7588ad476215cc299f4cd6fac5a9613b73ca80ad

Found in base branch: master

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


Step up your Open Source Security Game with Mend here