CVE-2024-6485

XSS in Bootstrap button component

State
Published
Severity
6.4 Medium
Published
Jul 11, 2024
Updated
Nov 3, 2025
Reserved
Jul 3, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.4 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:LHeroDevs

Weaknesses

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

Affected Products

ProductVersions
BootstrapBootstrap
  • 1.4.0 through 3.4.1Affected
bootstrap-sassBootstrap-sass
  • 2.3.2 through 3.4.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.