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

- Severity: Medium 6.4 (CVSS:3.1, scored by HeroDevs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2024-07-11T17:08:08.224Z
- Modified: 2026-09-10T03:50:17.018Z
- Also known as: GHSA-vxmc-5x29-h64v
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: HeroDevs

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

(As written by CVE List.)

## Affected

- Bootstrap Bootstrap: from 1.4.0 up to 3.4.1
- Bootstrap-sass bootstrap-sass: from 2.3.2 up to 3.4.3
- getbootstrap bootstrap: from 2.0.0 up to 3.4.1
- bootstrap (npm): from 1.4.0 up to 3.4.1

## Every score

- HeroDevs: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L`

## References

- <https://www.herodevs.com/vulnerability-directory/cve-2024-6485> (web)
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00020.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6485> (advisory)
- <https://github.com/twbs/bootstrap> (package)

## Sources

- CVE List: [CVE-2024-6485](https://www.cve.org/CVERecord?id=CVE-2024-6485), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-vxmc-5x29-h64v](https://github.com/advisories/GHSA-vxmc-5x29-h64v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-6485](https://nvd.nist.gov/vuln/detail/CVE-2024-6485), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6485 · Whole record: https://cve.day/CVE-2024-6485.json · Rebuilt by cve.day 2026-11-25T22:58:42.807Z
