CVE-2024-6485
Bootstrap Cross-Site Scripting (XSS) vulnerability for data-* attributes
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.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » bootstrapvia npm bootstrap | >= 1.4.0, <= 3.4.1 | - |
| org.webjars » bootstrapvia npm bootstrap | >= 1.4.0, <= 3.4.1 | - |
| org.webjars.npm » bootstrapvia npm bootstrap | >= 1.4.0, <= 3.4.1 | - |
Blast radius
70% of the dependent artifacts (795) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 5,418 |
| 2 hops | 21,921 |
| 3 hops | 19,025 |
| 4 hops | 13,202 |
| 5 hops | 2,803 |
| 6 hops | 485 |
Most used dependents
- org.webjars » font-awesome188 usages
- org.xwiki.platform » xwiki-platform-test-docker101 usages
- org.fenixedu » bennu-core96 usages
- de.tudarmstadt.ukp.inception.app » inception-support87 usages
- org.xwiki.platform » xwiki-platform-tool-packager-plugin77 usages
- org.xwiki.platform » xwiki-platform-administration-ui75 usages
- de.tudarmstadt.ukp.clarin.webanno » webanno-model71 usages
- de.agilecoders.wicket » wicket-bootstrap-core70 usages
- org.carewebframework » org.carewebframework.shell70 usages
- org.xwiki.platform » xwiki-platform-panels-ui62 usages
- de.tudarmstadt.ukp.clarin.webanno » webanno-support61 usages
- org.fenixedu » bennu-spring60 usages
- de.tudarmstadt.ukp.clarin.webanno » webanno-api60 usages
- de.agilecoders.wicket » wicket-bootstrap-extensions59 usages
- org.fenixedu » bennu-scheduler44 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2024-6485 | nvd.nist.gov |
| Package | twbs/bootstrap | github.com |
| Web | debian-lts-announce/2025/04/msg00020.html | lists.debian.org |
| Web | vulnerability-directory/cve-2024-6485 | herodevs.com |
