MediumGHSA-4p24-vmcr-4gqjCVE-2016-10735
Bootstrap Cross-site Scripting vulnerability
Published 17 Jan 2019 · Updated 10 Sept 2026
Affected packages
bootstrapnpm
- Affected
- >=2.0.4 <3.4.0
- Fixed in
- 3.4.0
Update to the fixed version for your release line, for example:
npm install bootstrap@3.4.0bootstrapnpm
- Affected
- >=4.0.0-beta <4.0.0-beta.2
- Fixed in
- 4.0.0-beta.2
Update to the fixed version for your release line, for example:
npm install bootstrap@4.0.0-beta.2twbs/bootstrapComposer
- Affected
- >=2.0.4 <3.4.0
- Fixed in
- 3.4.0
Update to the fixed version for your release line, for example:
composer require twbs/bootstrap:^3.4.0twbs/bootstrapComposer
- Affected
- >=4.0.0-beta <4.0.0-beta.2
- Fixed in
- 4.0.0-beta.2
Update to the fixed version for your release line, for example:
composer require twbs/bootstrap:^4.0.0-beta.2- Affected
- >=2.0.4 <3.4.0
- Fixed in
- 3.4.0
Update to the fixed version for your release line, for example:
npm install bootstrap-sass@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.
Is GHSA-4p24-vmcr-4gqj in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected bootstrap, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2016-10735
- Linkgithub.com/twbs/bootstrap/issues/27915#issuecomment-452140906
- Linkgithub.com/twbs/bootstrap/issues/20184
- Linkgithub.com/twbs/bootstrap/pull/26460
- Linkgithub.com/twbs/bootstrap/pull/23687
- Linkgithub.com/twbs/bootstrap/pull/23679
- Linkgithub.com/github/advisory-database/pull/3281
- Packagegithub.com/twbs/bootstrap
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2016-10735.yml
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2016-10735.yml
- Linkblog.getbootstrap.com/2018/12/13/bootstrap-3-4-0
- Linkblog.getbootstrap.com/2018/07/12/bootstrap-4-1-2
- Linkaccess.redhat.com/errata/RHSA-2020:0133
- Linkaccess.redhat.com/errata/RHSA-2020:0132
- Linkaccess.redhat.com/errata/RHSA-2019:3023
- Linkaccess.redhat.com/errata/RHSA-2019:1456
- Linkaccess.redhat.com/errata/RHBA-2019:1570
- Linkaccess.redhat.com/errata/RHBA-2019:1076
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.