MODERATE 6.4

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)

ArtifactAffected versionsFixed 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

3affected artifacts
47affected versions
1,129dependent artifacts (est.)
62,854dependent versions

70% of the dependent artifacts (795) still pull an affected version in their latest release.

DepthDependent 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

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

Advisorynvd.nist.gov
Packagegithub.com
Weblists.debian.org
Webherodevs.com