Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. bootstrap
  4. ›
  5. CVE-2024-6485

CVE-2024-6485: Bootstrap Cross-Site Scripting (XSS) vulnerability for data-* attributes

July 11, 2024 (updated November 18, 2024)

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.

References

  • github.com/advisories/GHSA-vxmc-5x29-h64v
  • github.com/twbs/bootstrap
  • nvd.nist.gov/vuln/detail/CVE-2024-6485
  • www.herodevs.com/vulnerability-directory/cve-2024-6485

Code Behaviors & Features

Detect and mitigate CVE-2024-6485 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.4.0 before 3.4.1

Fixed versions

  • 3.4.1

Solution

Upgrade to version 3.4.1 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/bootstrap/CVE-2024-6485.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:23 +0000.