MODERATE 6.1

CVE-2019-8331

Bootstrap Vulnerable to Cross-Site Scripting

Description

Versions of bootstrap prior to 3.4.1 for 3.x and 4.3.1 for 4.x are vulnerable to Cross-Site Scripting (XSS). The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

Recommendation

For bootstrap 4.x upgrade to 4.3.1 or later. For bootstrap 3.x upgrade to 3.4.1 or later.

Affected Maven artifacts (6)

ArtifactAffected versionsFixed in
org.webjars » bootstrap
>= 3.0.0, < 3.4.1>= 4.0.0, < 4.3.1
3.4.1, 4.3.1
org.mvnpm » bootstrapvia npm bootstrap
>= 3.0.0, < 3.4.1>= 4.0.0, < 4.3.1
3.4.1, 4.3.1
org.mvnpm » bootstrap-sassvia npm bootstrap-sass
>= 3.0.0, < 3.4.1
3.4.1
org.webjars » bootstrapvia npm bootstrap
>= 3.0.0, < 3.4.1>= 4.0.0, < 4.3.1
3.4.1, 4.3.1
org.webjars » bootstrap-sassvia npm bootstrap-sass
>= 3.0.0, < 3.4.1
3.4.1
org.webjars.npm » bootstrapvia npm bootstrap
>= 3.0.0, < 3.4.1>= 4.0.0, < 4.3.1
3.4.1, 4.3.1
org.webjars.npm » bootstrap-sassvia npm bootstrap-sass
>= 3.0.0, < 3.4.1
3.4.1

Blast radius

5affected artifacts
59affected versions
1,070dependent artifacts (est.)
55,968dependent versions

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

DepthDependent versions
Direct
4,689
2 hops
19,744
3 hops
17,197
4 hops
12,164
5 hops
2,115
6 hops
59

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 NuGet (3 packages) RubyGems (3 packages) npm (2 packages) Packagist (1 package) . See all on OSV

References

Advisorynvd.nist.gov
Advisorygithub.com
Packagegithub.com
Webgithub.com
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Webseclists.org
Websupport.f5.com
Websupport.f5.com
Websupport.f5.com
Webweb.archive.org
Weboracle.com
Webtenable.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webblog.getbootstrap.com
Webcve.mitre.org
Webgithub.com
Webgithub.com
Webgithub.com
Webgithub.com
Webgithub.com
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org