CVE-2018-14040
MEDIUM 6.1CVSS 3.0Bootstrap vulnerable to Cross-Site Scripting (XSS)
In Bootstrap before 4.1.2, XSS is possible in the collapse data-parent attribute.
- Published
- 13 Jul 2018
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-3wqf-4x89-9g79
- Sources
- NVDJSONOSV GHSA-3wqf-4x89-9g79JSON
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 | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:*:*:*:*:*:*:*:* |
< 3.4.0 | 3.4.0 |
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.1.2 | 4.1.2 |
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha2:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha3:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha4:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha5:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha6:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta2:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | getbootstrap | bootstrapcpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta3:*:*:*:*:*:* |
= 4.0.0 | |
| OSV | npm | bootstrap | >= 4.0.0, < 4.1.2 | 4.1.2 |
| OSV | RubyGems | bootstrap | >= 4.0.0, < 4.1.2 | 4.1.2 |
| OSV | npm | bootstrap | >= 2.3.0, < 3.4.0 | 3.4.0 |
| OSV | RubyGems | bootstrap | >= 2.3.0, < 3.4.0 | 3.4.0 |
| OSV | Maven | org.webjars:bootstrap | >= 4.0.0, < 4.1.2 | 4.1.2 |
| OSV | Maven | org.webjars:bootstrap | >= 2.3.0, < 3.4.0 | 3.4.0 |
| OSV | NuGet | bootstrap | >= 2.3.0, < 3.4.0 | 3.4.0 |
| OSV | NuGet | bootstrap | >= 4.0.0, < 4.1.2 | 4.1.2 |
| OSV | NuGet | bootstrap.sass | >= 4.0.0, < 4.1.2 | 4.1.2 |
| OSV | RubyGems | bootstrap-sass | >= 2.3.0, < 3.4.0 | 3.4.0 |
| OSV | Packagist | twbs/bootstrap | >= 2.3.0, < 3.4.0 | 3.4.0 |
| OSV | Packagist | twbs/bootstrap | >= 4.0.0, < 4.1.2 | 4.1.2 |
References
- http://packetstormsecurity.com/files/152787/dotCMS-5.1.1-Vulnerable-Dependencies.html · WEB
- http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html · WEB
- http://seclists.org/fulldisclosure/2019/May/10 · WEB
- http://seclists.org/fulldisclosure/2019/May/11 · WEB
- http://seclists.org/fulldisclosure/2019/May/13 · WEB
- https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/ · Vendor Advisory, WEB
- https://github.com/twbs/bootstrap/issues/26423 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/twbs/bootstrap/issues/26625 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/twbs/bootstrap/pull/26630 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e%40%3Cdev.superset.apache.org%3E
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E
- https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714%40%3Cissues.hbase.apache.org%3E
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2018/08/msg00027.html · Third Party Advisory, WEB
- https://seclists.org/bugtraq/2019/May/18 · WEB
- https://www.oracle.com/security-alerts/cpuApr2021.html · WEB
- https://www.tenable.com/security/tns-2021-14 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-14040 · ADVISORY
- https://github.com/twbs/bootstrap-rubygem/commit/f34c43c936ac7d0ebb129289321d8c51cd56aed1#diff-4e736e880b7fc39eb5e85576b629f6e3cd08f02f45104a7b4581f82852e97a81R1306 · WEB
- https://github.com/twbs/bootstrap/commit/149096016f70fd815540d62c0989fd99cdc809e0 · WEB
- 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/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3E · WEB
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E · WEB
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E · WEB
- https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E · WEB
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E · WEB
- https://github.com/twbs/bootstrap/blob/v3.4.1/js/tooltip.js#L352 · WEB
- https://github.com/twbs/bootstrap/blob/v3.4.1/js/scrollspy.js#L56 · WEB
- https://github.com/twbs/bootstrap/blob/v3.4.1/js/collapse.js#L140 · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14040.yml · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14040.yml · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 13 Jul 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 May 2022)