6.1med

CVE-2018-14040

Bootstrap vulnerable to Cross-Site Scripting (XSS)

Also known as GHSA-3wqf-4x89-9g79

Published 8 y ago · modified 59 d ago · JSON

CVSS
6.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
4.1%
percentile 91%
Public exploits
0
none known

Summary

In Bootstrap before 4.1.2, XSS is possible in the collapse data-parent attribute.

Exploit prediction (EPSS)

4.13% probability of exploitation in the next 30 days, higher than 91% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD2.04.3AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub3.06.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
npmbootstrap
>=4.0.0, <4.1.2
>=2.3.0, <3.4.0
4.1.2
3.4.0
rubygemsbootstrap
>=4.0.0, <4.1.2
>=2.3.0, <3.4.0
4.1.2
3.4.0
mavenorg.webjars:bootstrap
>=4.0.0, <4.1.2
>=2.3.0, <3.4.0
4.1.2
3.4.0
nugetbootstrap
>=2.3.0, <3.4.0
>=4.0.0, <4.1.2
3.4.0
4.1.2
nugetbootstrap.sass
>=4.0.0, <4.1.2
4.1.2
rubygemsbootstrap-sass
>=2.3.0, <3.4.0
3.4.0
packagisttwbs/bootstrap
>=2.3.0, <3.4.0
>=4.0.0, <4.1.2
3.4.0
4.1.2

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

  • lists.debian.org /debian-lts-announce/2018/08/msg00027.html · mailing-list, x_refsource_MLIST, x_transferred
  • seclists.org /bugtraq/2019/May/18 · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • seclists.org /fulldisclosure/2019/May/11 · mailing-list, x_refsource_FULLDISC, x_transferred
  • seclists.org /fulldisclosure/2019/May/10 · mailing-list, x_refsource_FULLDISC, x_transferred
  • seclists.org /fulldisclosure/2019/May/13 · mailing-list, x_refsource_FULLDISC, x_transferred
  • lists.apache.org /thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e%40%3Cdev.superset.ap · mailing-list, x_refsource_MLIST, x_transferred
  • lists.apache.org /thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apach · mailing-list, x_refsource_MLIST, x_transferred
  • lists.apache.org /thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apach · mailing-list, x_refsource_MLIST, x_transferred
  • lists.apache.org /thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.ap · mailing-list, x_refsource_MLIST, x_transferred
  • packetstormsecurity.com /files/152787/dotCMS-5.1.1-Vulnerable-Dependencies.html · x_refsource_MISC, x_transferred
  • packetstormsecurity.com /files/156743/OctoberCMS-Insecure-Dependencies.html · x_refsource_MISC, x_transferred
  • lists.apache.org /thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714%40%3Cissues.hbase.a · mailing-list, x_refsource_MLIST, x_transferred
  • lists.apache.org /thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar · mailing-list, x_refsource_MLIST, x_transferred
  • oracle.com /security-alerts/cpuApr2021.html · x_refsource_MISC, x_transferred
  • github.com /twbs/bootstrap/pull/26630 · x_refsource_MISC, x_transferred
  • github.com /twbs/bootstrap/issues/26423 · x_refsource_MISC, x_transferred
  • github.com /twbs/bootstrap/issues/26625 · x_refsource_MISC, x_transferred
  • blog.getbootstrap.com /2018/07/12/bootstrap-4-1-2/ · x_refsource_MISC, x_transferred
  • tenable.com /security/tns-2021-14 · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-14040 · advisory
  • github.com /twbs/bootstrap-rubygem/commit/f34c43c936ac7d0ebb129289321d8c51cd56aed1#diff-4e736e880b7fc · web
  • github.com /twbs/bootstrap/commit/149096016f70fd815540d62c0989fd99cdc809e0 · web
  • github.com /twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d · web
  • lists.apache.org /thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.a · web
  • lists.apache.org /thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apa · web
  • lists.apache.org /thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apac · web
  • lists.apache.org /thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache. · web
  • lists.apache.org /thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apac · web
  • lists.apache.org /thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache. · web
  • github.com /twbs/bootstrap/blob/v3.4.1/js/tooltip.js#L352 · web
  • github.com /twbs/bootstrap/blob/v3.4.1/js/scrollspy.js#L56 · web
  • github.com /twbs/bootstrap/blob/v3.4.1/js/collapse.js#L140 · web
  • github.com /rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14040.yml · web
  • github.com /rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14040.yml · web
  • blog.getbootstrap.com /2018/07/12/bootstrap-4-1-2 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.