XSS vulnerability that affects bootstrap
In Bootstrap before 3.4.0, XSS is possible in the tooltip data-viewport attribute.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | twbs/bootstrap | < 3.4.0 | 3.4.0 |
| Java / Kotlin (Maven) | org.webjars:bootstrap | < 3.4.0 | 3.4.0 |
| npm package | bootstrap | < 3.4.0 | 3.4.0 |
| npm package | bootstrap-sass | < 3.4.0 | 3.4.0 |
| .NET (NuGet) | bootstrap | < 3.4.0 | 3.4.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-20676
- https://github.com/twbs/bootstrap/issues/27915#issuecomment-452196628
- https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906
- https://github.com/twbs/bootstrap/issues/27044
- https://github.com/twbs/bootstrap/pull/27047
- https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E
- https://github.com/twbs/bootstrap
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-20676.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-20676.yml
- https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0
- https://access.redhat.com/errata/RHSA-2020:0133
- https://access.redhat.com/errata/RHSA-2020:0132
- https://access.redhat.com/errata/RHSA-2019:3023
- https://access.redhat.com/errata/RHSA-2019:1456
- https://access.redhat.com/errata/RHBA-2019:1570
- https://access.redhat.com/errata/RHBA-2019:1076
- 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
- 17.01.2019
- Updated
- 11.10.2026 11:23
Sources and licenses
OSV / GitHub Advisory Database - GHSA-3mgp-fx93-9xv5 - 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
-
XSS vulnerability that affects bootstrap 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.