VDB

CVE-2024-6485

CVE-2024-6485 PUBLISHED CVSS 6.4 MEDIUM

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.

PackageEcosystemFixed in
bootstrapnpm3.4.1
grafana-fips-11.6Chainguard11.6.7-r0
grafana-fips-11.2Chainguard11.2.10.01-r6
grafana-11.6Wolfi11.6.7-r0
grafana-11.3Chainguard11.3.9-r5
grafana-11.3Wolfi11.3.9-r5
grafana-11.2Wolfi11.2.10.01-r7
grafana-11.4Chainguard11.4.8-r2
grafana-fips-11.3Chainguard11.3.9-r4
grafana-fips-11.4Chainguard11.4.8-r2
grafana-10.4Chainguard10.4.19.01-r4
grafana-11.2Chainguard11.2.10.01-r7

9 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
6.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L

Affected products

VendorProductVersions
BootstrapBootstrap1.4.0
Bootstrap-sassbootstrap-sass2.3.2
chainguardgrafana-fips-11.60
chainguardgrafana-fips-11.20
Bootstrap-sassbootstrap-sass2.3.2
wolfigrafana-11.60
chainguardgrafana-11.30
wolfigrafana-11.30
npmbootstrap1.4.0
wolfigrafana-11.20
chainguardgrafana-11.40
chainguardgrafana-fips-11.30
chainguardgrafana-fips-11.40
chainguardgrafana-10.40
chainguardgrafana-11.20
chainguardgrafana-fips-11.50
wolfigrafana-11.50
chainguardgrafana-11.60
wolfigrafana-11.40
BootstrapBootstrap1.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›