CVE-2024-6485
XSS in Bootstrap button component
Reported by herodevs · Published July 11, 2024
bootstrap is fixed in 3.4.1 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bootstrap | npm | 3.4.1 |
| grafana-fips-11.6 | Chainguard | 11.6.7-r0 |
| grafana-fips-11.2 | Chainguard | 11.2.10.01-r6 |
| grafana-11.6 | Wolfi | 11.6.7-r0 |
| grafana-11.3 | Chainguard | 11.3.9-r5 |
| grafana-11.3 | Wolfi | 11.3.9-r5 |
| grafana-11.2 | Wolfi | 11.2.10.01-r7 |
| grafana-11.4 | Chainguard | 11.4.8-r2 |
| grafana-fips-11.3 | Chainguard | 11.3.9-r4 |
| grafana-fips-11.4 | Chainguard | 11.4.8-r2 |
| grafana-10.4 | Chainguard | 10.4.19.01-r4 |
| grafana-11.2 | Chainguard | 11.2.10.01-r7 |
9 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Bootstrap | Bootstrap | 1.4.0 |
| Bootstrap-sass | bootstrap-sass | 2.3.2 |
| chainguard | grafana-fips-11.6 | 0 |
| chainguard | grafana-fips-11.2 | 0 |
| Bootstrap-sass | bootstrap-sass | 2.3.2 |
| wolfi | grafana-11.6 | 0 |
| chainguard | grafana-11.3 | 0 |
| wolfi | grafana-11.3 | 0 |
| npm | bootstrap | 1.4.0 |
| wolfi | grafana-11.2 | 0 |
| chainguard | grafana-11.4 | 0 |
| chainguard | grafana-fips-11.3 | 0 |
| chainguard | grafana-fips-11.4 | 0 |
| chainguard | grafana-10.4 | 0 |
| chainguard | grafana-11.2 | 0 |
| chainguard | grafana-fips-11.5 | 0 |
| wolfi | grafana-11.5 | 0 |
| chainguard | grafana-11.6 | 0 |
| wolfi | grafana-11.4 | 0 |
| Bootstrap | Bootstrap | 1.4.0 |
…and 3 more
Timeline
- Jul 11, 2024 CVE Published
- Jul 12, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (8 in total, the first dated here)
- Dec 28, 2025 CVE Updated
- Mar 9, 2026 Security Advisory (44 in total, the first dated here)
- Oct 9, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-6485
vulnetix vdb fixes CVE-2024-6485
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-6485/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart