MediumGHSA-3mgp-fx93-9xv5CVE-2018-20676
XSS vulnerability that affects bootstrap
Published 17 Jan 2019 · Updated 10 Sept 2026
Affected packages
bootstrapnpm
- Affected
- <3.4.0
- Fixed in
- 3.4.0
Update to the fixed version for your release line, for example:
npm install bootstrap@3.4.0- Affected
- <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.0twbs/bootstrapComposer
- Affected
- <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.0Details
In Bootstrap before 3.4.0, XSS is possible in the tooltip data-viewport attribute.
Is GHSA-3mgp-fx93-9xv5 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-2018-20676
- Linkgithub.com/twbs/bootstrap/issues/27915#issuecomment-452196628
- Linkgithub.com/twbs/bootstrap/issues/27915#issuecomment-452140906
- Linkgithub.com/twbs/bootstrap/issues/27044
- Linkgithub.com/twbs/bootstrap/pull/27047
- Linkgithub.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d
- Linklists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E
- Packagegithub.com/twbs/bootstrap
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-20676.yml
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-20676.yml
- Linkblog.getbootstrap.com/2018/12/13/bootstrap-3-4-0
- 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.