MediumGHSA-7mvr-5x2g-wfc8CVE-2018-14042

Bootstrap Cross-site Scripting vulnerability

Published 13 Sept 2018 · Updated 10 Sept 2026

Affected packages

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.2
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.0
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.2
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.0

Details

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.