Bootstrap Cross-site Scripting vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | twbs/bootstrap | >= 4.0.0, < 4.1.2, >= 2.3.0, < 3.4.0 | 4.1.2, 3.4.0 |
| Java / Kotlin (Maven) | org.webjars:bootstrap | >= 4.0.0, < 4.1.2, >= 2.3.0, < 3.4.0 | 4.1.2, 3.4.0 |
| npm package | bootstrap | >= 4.0.0, < 4.1.2, >= 2.3.0, < 3.4.0 | 4.1.2, 3.4.0 |
| npm package | bootstrap-sass | >= 2.0.4, < 3.4.0 | 3.4.0 |
| .NET (NuGet) | bootstrap | >= 4.0.0, < 4.1.2, >= 2.3.0, < 3.4.0 | 4.1.2, 3.4.0 |
| .NET (NuGet) | bootstrap.sass | >= 4.0.0, < 4.1.2 | 4.1.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-14042
- https://github.com/twbs/bootstrap/issues/26423
- https://github.com/twbs/bootstrap/issues/26428
- https://github.com/twbs/bootstrap/issues/26628
- https://github.com/twbs/bootstrap/pull/26630
- https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d
- https://github.com/twbs/bootstrap/commit/2d90d369bbc2bd2647620246c55cec8c4705e3d0
- https://www.tenable.com/security/tns-2021-14
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://seclists.org/bugtraq/2019/May/18
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E
- https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3E
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E
- https://github.com/twbs/bootstrap
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14042.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14042.yml
- https://github.com/advisories/GHSA-7mvr-5x2g-wfc8
- https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2
- http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html
- http://seclists.org/fulldisclosure/2019/May/10
- http://seclists.org/fulldisclosure/2019/May/11
- http://seclists.org/fulldisclosure/2019/May/13
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Composer, Java / Kotlin (Maven), npm, .NET (NuGet)
- Package
twbs/bootstrap, org.webjars:bootstrap, bootstrap- Disclosed
- 13.09.2018
- Updated
- 11.10.2026 11:23
Sources and licenses
OSV / GitHub Advisory Database - GHSA-7mvr-5x2g-wfc8 - CC BY 4.0
Vulnerability history: twbs/bootstrap
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 7
- First → latest
- 09.2018 05.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 7
Disclosures per year
- 2018: 2
- 2019: 4
- 2020: 0
- 2021: 0
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Bootstrap Cross-site Scripting vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.