CVE-2024-6485: Bootstrap XSS

CVE-2024-6485

NVD

Vulnerability Summary

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.
Severity Level
MEDIUM(6.4)
Published Date
Jul 11, 2024
Last Modified
Nov 3, 2025
Exploitation Status
No confirmed exploitation yet
Root Weakness (CWE)
The software does not neutralize user-controllable input before it is placed in output that is used as a web page.
CVSS v3.1 Base Metrics — Score 6.4 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityLow
AvailabilityLow

Affected & Patched Versions

Affected Versions
  • Bootstrap >= 1.4.0 and <= 3.4.1
  • bootstrap-sass >= 2.3.2 and <= 3.4.3
Patched Versions
  • Bootstrap 3.4.1
  • bootstrap-sass 3.4.3

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Bootstrap and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jul 11, 2024Published
  • Nov 3, 2025Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Bootstrap CVEsYou are reading CVE-2024-6485. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 1, 2026 15:45 UTC