MEDIUM6.1
GHSA-4p24-vmcr-4gqj
Bootstrap Cross-site Scripting vulnerability
Quick fix
GHSA-4p24-vmcr-4gqj — bootstrap: upgrade to the fixed version with the command below.
npm install bootstrap@3.4.0Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.webjars:bootstrap
Introduced in:
2.0.4Fixed in: 3.4.0Fix
# pom.xml: bump <version>3.4.0</version> for org.webjars:bootstrapMaven/org.webjars:bootstrap
Introduced in:
4.0.0-betaFixed in: 4.0.0-beta.2Fix
# pom.xml: bump <version>4.0.0-beta.2</version> for org.webjars:bootstrapPackagist/twbs/bootstrap
Introduced in:
2.0.4Fixed in: 3.4.0Fix
composer require twbs/bootstrap:^3.4.0Packagist/twbs/bootstrap
Introduced in:
4.0.0-betaFixed in: 4.0.0-beta.2Fix
composer require twbs/bootstrap:^4.0.0-beta.2NuGet/bootstrap
Introduced in:
4.0.0-betaFixed in: 4.0.0-beta.2Fix
dotnet add package bootstrap --version 4.0.0-beta.2NuGet/bootstrap.sass
Introduced in:
4.0.0-betaFixed in: 4.0.0-beta.2Fix
dotnet add package bootstrap.sass --version 4.0.0-beta.2References
- https://nvd.nist.gov/vuln/detail/CVE-2016-10735[ADVISORY]
- https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906[WEB]
- https://github.com/twbs/bootstrap/issues/20184[WEB]
- https://github.com/twbs/bootstrap/pull/26460[WEB]
- https://github.com/twbs/bootstrap/pull/23687[WEB]
- https://github.com/twbs/bootstrap/pull/23679[WEB]
- https://github.com/github/advisory-database/pull/3281[WEB]
- https://github.com/twbs/bootstrap[PACKAGE]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2016-10735.yml[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2016-10735.yml[WEB]
- https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0[WEB]
- https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2[WEB]
- https://access.redhat.com/errata/RHSA-2020:0133[WEB]
- https://access.redhat.com/errata/RHSA-2020:0132[WEB]
- https://access.redhat.com/errata/RHSA-2019:3023[WEB]
- https://access.redhat.com/errata/RHSA-2019:1456[WEB]
- https://access.redhat.com/errata/RHBA-2019:1570[WEB]
- https://access.redhat.com/errata/RHBA-2019:1076[WEB]