MediumGHSA-7mvr-5x2g-wfc8CVE-2018-14042
Bootstrap Cross-site Scripting vulnerability
Published 13 Sept 2018 · Updated 10 Sept 2026
Affected packages
bootstrapnpm
- Affected
- >=4.0.0 <4.1.2
- Fixed in
- 4.1.2
Update to the fixed version for your release line, for example:
npm install bootstrap@4.1.2bootstrapnpm
- Affected
- >=2.3.0 <3.4.0
- Fixed in
- 3.4.0
Update to the fixed version for your release line, for example:
npm install bootstrap@3.4.0twbs/bootstrapComposer
- Affected
- >=4.0.0 <4.1.2
- Fixed in
- 4.1.2
Update to the fixed version for your release line, for example:
composer require twbs/bootstrap:^4.1.2twbs/bootstrapComposer
- Affected
- >=2.3.0 <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.0- 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 starting in version 2.3.0 and prior to versions 3.4.0 and 4.1.2, XSS is possible in the data-container property of tooltip. This is similar to CVE-2018-14041.
Is GHSA-7mvr-5x2g-wfc8 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-14042
- Linkgithub.com/twbs/bootstrap/issues/26423
- Linkgithub.com/twbs/bootstrap/issues/26428
- Linkgithub.com/twbs/bootstrap/issues/26628
- Linkgithub.com/twbs/bootstrap/pull/26630
- Linkgithub.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d
- Linkgithub.com/twbs/bootstrap/commit/2d90d369bbc2bd2647620246c55cec8c4705e3d0
- Linkwww.tenable.com/security/tns-2021-14
- Linkwww.oracle.com/security-alerts/cpuApr2021.html
- Linkseclists.org/bugtraq/2019/May/18
- Linklists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E
- Linklists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3E
- Linklists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E
- Linklists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E
- Linklists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E
- Linklists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E
- Packagegithub.com/twbs/bootstrap
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14042.yml
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14042.yml
- Advisorygithub.com/advisories/GHSA-7mvr-5x2g-wfc8
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.