CVE-2024-6485: XSS in Bootstrap button component

Published Jul 11, 2024
·
Updated

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.

Affected Software

7 affected componentsFixes available
npm/bootstrap>=1.4.0<3.4.1
3.4.1
Microsoft cbl2 reaper 3.1.1-21
Microsoft cbl2 reaper 3.1.1-19
Microsoft cbl2 reaper 3.1.1-21
Microsoft cbl2 reaper 3.1.1-22
IBM Db2 Genius Hub<=1.1, 1.1.1, 1.1.2
IBM Agentics<=1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/bootstrap to a version that resolves this vulnerability.

    Fixed in 3.4.1

Event History

Jul 11, 2024
CVE Published
via MITRE·05:08 PM
Data Sourced
via MITRE·05:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:31 PM
Dec 5, 2025
Data Sourced
via Microsoft·01:04 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:04 AM
Affected Software
Updated
via Microsoft·01:04 AM
DescriptionSeverity
Jul 13, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-6485?

CVE-2024-6485 is classified as a moderate severity vulnerability due to its potential to enable Cross-Site Scripting (XSS) attacks.

2

How do I fix CVE-2024-6485?

To fix CVE-2024-6485, update the bootstrap package to version 3.4.1 or later.

3

Which versions of bootstrap are affected by CVE-2024-6485?

Affected versions include all bootstrap releases from 1.4.0 to before 3.4.1.

4

What are the potential impacts of CVE-2024-6485?

CVE-2024-6485 can lead to unauthorized execution of malicious scripts and data theft through XSS attacks.

5

Is the data-loading-text attribute related to CVE-2024-6485?

Yes, the vulnerability in CVE-2024-6485 is specifically associated with the data-loading-text attribute in the bootstrap button plugin.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203