GitHub Advisory Database
GHSA-4p24-vmcr-4gqj
Bootstrap Cross-site Scripting vulnerability
Details
In Bootstrap 2.x from 2.0.4, 3.x before 3.4.0 and 4.x-beta before 4.0.0-beta.2, XSS is possible in the data-target attribute. Note that this is a different vulnerability than CVE-2018-14041.
See https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/ for more info.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | bootstrap | From 2.0.4 before 3.4.0 (fixed in 3.4.0) |
| npm | bootstrap | From 4.0.0-beta before 4.0.0-beta.2 (fixed in 4.0.0-beta.2) |
| Maven | org.webjars:bootstrap | From 2.0.4 before 3.4.0 (fixed in 3.4.0) |
| Maven | org.webjars:bootstrap | From 4.0.0-beta before 4.0.0-beta.2 (fixed in 4.0.0-beta.2) |
| RubyGems | bootstrap | All versions before 4.0.0-beta.2 (fixed in 4.0.0-beta.2) |
| Packagist | twbs/bootstrap | From 2.0.4 before 3.4.0 (fixed in 3.4.0) |
| Packagist | twbs/bootstrap | From 4.0.0-beta before 4.0.0-beta.2 (fixed in 4.0.0-beta.2) |
| NuGet | bootstrap | From 2.0.4 before 3.4.0 (fixed in 3.4.0) |
| NuGet | bootstrap | From 4.0.0-beta before 4.0.0-beta.2 (fixed in 4.0.0-beta.2) |
| npm | bootstrap-sass | From 2.0.4 before 3.4.0 (fixed in 3.4.0) |
| RubyGems | bootstrap-sass | From 2.0.4 before 3.4.0 (fixed in 3.4.0) |
| NuGet | bootstrap.sass | From 4.0.0-beta before 4.0.0-beta.2 (fixed in 4.0.0-beta.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-10735
- https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906
- https://github.com/twbs/bootstrap/issues/20184
- https://github.com/twbs/bootstrap/pull/26460
- https://github.com/twbs/bootstrap/pull/23687
- https://github.com/twbs/bootstrap/pull/23679
- https://github.com/github/advisory-database/pull/3281
- https://github.com/twbs/bootstrap
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2016-10735.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2016-10735.yml
- https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0
- https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2
- https://access.redhat.com/errata/RHSA-2020:0133
- https://access.redhat.com/errata/RHSA-2020:0132
- https://access.redhat.com/errata/RHSA-2019:3023
- https://access.redhat.com/errata/RHSA-2019:1456
- https://access.redhat.com/errata/RHBA-2019:1570
- https://access.redhat.com/errata/RHBA-2019:1076