CVE-2018-20677
MEDIUM 6.1CVSS 3.0bootstrap Cross-site Scripting vulnerability
In Bootstrap before 3.4.0, XSS is possible in the affix configuration target property.
- Published
- 9 Jan 2019
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-ph58-4vrj-w6hr
- Sources
- NVDJSONOSV GHSA-ph58-4vrj-w6hrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:*:*:*:*:*:*:*:* |
< 3.4.0 | 3.4.0 |
| OSV | npm | bootstrap | < 3.4.0 | 3.4.0 |
| OSV | npm | bootstrap-sass | < 3.4.0 | 3.4.0 |
| OSV | Packagist | twbs/bootstrap | < 3.4.0 | 3.4.0 |
| OSV | Maven | org.webjars:bootstrap | < 3.4.0 | 3.4.0 |
| OSV | RubyGems | bootstrap | < 3.4.0 | 3.4.0 |
| OSV | RubyGems | bootstrap-sass | < 3.4.0 | 3.4.0 |
| OSV | NuGet | bootstrap | < 3.4.0 | 3.4.0 |
References
- https://access.redhat.com/errata/RHBA-2019:1076 · WEB
- https://access.redhat.com/errata/RHBA-2019:1570 · WEB
- https://access.redhat.com/errata/RHSA-2019:1456 · WEB
- https://access.redhat.com/errata/RHSA-2019:3023 · WEB
- https://access.redhat.com/errata/RHSA-2020:0132 · WEB
- https://access.redhat.com/errata/RHSA-2020:0133 · WEB
- https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/ · Release Notes, Vendor Advisory, WEB
- https://github.com/twbs/bootstrap/issues/27045 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/twbs/bootstrap/issues/27915#issuecomment-452196628 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/twbs/bootstrap/pull/27047 · Patch, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e%40%3Cdev.superset.apache.org%3E
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
- https://www.tenable.com/security/tns-2021-14
- https://nvd.nist.gov/vuln/detail/CVE-2018-20677 · ADVISORY
- https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d · WEB
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E · WEB
- https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E · WEB
- https://github.com/twbs/bootstrap · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-20677.yml · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-20677.yml · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 9 Jan 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Jan 2019)