Skip to content

CVE-2024-6485 (Medium) detected in bootstrap-3.3.7.min.jsΒ #3293

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2024-6485 - Medium Severity Vulnerability

Vulnerable Library - bootstrap-3.3.7.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/twitter-bootstrap/3.3.7/js/bootstrap.min.js

Path to dependency file: /rubycritic/charts/run.html

Path to vulnerable library: /rubycritic/charts/../assets/vendor/javascripts/bootstrap.min.js,/rubycritic/seek/../assets/vendor/javascripts/bootstrap.min.js,/rubycritic/well-formed/../assets/vendor/javascripts/bootstrap.min.js,/rubycritic/ruby-strip/../assets/vendor/javascripts/bootstrap.min.js,/rubycritic/hashcheck/../assets/vendor/javascripts/bootstrap.min.js,/rubycritic/built-in-datatypes/../assets/vendor/javascripts/bootstrap.min.js,/rubycritic/ruby-eclipse-cheatsheets-to-dita/../assets/vendor/javascripts/bootstrap.min.js,/rubycritic/scrapers/ruby/nokogiri/../../../assets/vendor/javascripts/bootstrap.min.js,/rubycritic/drivers/../assets/vendor/javascripts/bootstrap.min.js,/rubycritic/assets/vendor/javascripts/bootstrap.min.js

Dependency Hierarchy:

  • ❌ bootstrap-3.3.7.min.js (Vulnerable Library)

Found in HEAD commit: 8dbdb4a1170502df116e35d16ab172d26c02609e

Found in base branch: main

Vulnerability Details

A security vulnerability has been discovered in bootstrap that could enable Cross-Site Scripting (XSS) attacks. The vulnerability is associated with the data-loading-text attribute within the button plugin. This vulnerability can be exploited by injecting malicious JavaScript code into the attribute, which would then be executed when the button's loading state is triggered.

Publish Date: 2024-07-11

URL: CVE-2024-6485

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://getbootstrap.com/docs/3.3/javascript/#buttons

Release Date: 2024-07-11

Fix Resolution: bootstrap - 4.0.0,https://github.com/twbs/bootstrap.git - v4.0.0


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions