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)
| Artifact | Affected versions | Fixed 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
67% of the dependent artifacts (723) still pull an affected version in their latest release.
| Depth | Dependent 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
- 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
- io.macgyver » macgyver-core44 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 NuGet (3 packages) RubyGems (3 packages) npm (2 packages) Packagist (1 package) . See all on OSV
