{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-14042","id":"CVE-2018-14042","title":"Bootstrap Cross-site Scripting vulnerability","description":"In Bootstrap before 4.1.2, XSS is possible in the data-container property of tooltip.","descriptionLong":"In Bootstrap before 4.1.2, XSS is possible in the data-container property of tooltip.","published":"2018-07-13T14:00:00.000Z","updated":"2026-10-20T10:50:19.312014497Z","reserved":"2018-07-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"bootstrap","purl":"pkg:gem/bootstrap","ranges":[">=4.0.0 <4.1.2",">=2.3.0 <3.4.0"],"fixed":["4.1.2","3.4.0"],"advisory":"GHSA-7mvr-5x2g-wfc8"},{"ecosystem":"npm","name":"bootstrap","purl":"pkg:npm/bootstrap","ranges":[">=4.0.0 <4.1.2",">=2.3.0 <3.4.0"],"fixed":["4.1.2","3.4.0"],"advisory":"GHSA-7mvr-5x2g-wfc8"},{"ecosystem":"Maven","name":"org.webjars:bootstrap","purl":"pkg:maven/org.webjars/bootstrap","ranges":[">=4.0.0 <4.1.2",">=2.3.0 <3.4.0"],"fixed":["4.1.2","3.4.0"],"advisory":"GHSA-7mvr-5x2g-wfc8"},{"ecosystem":"Packagist","name":"twbs/bootstrap","purl":"pkg:composer/twbs/bootstrap","ranges":[">=4.0.0 <4.1.2",">=2.3.0 <3.4.0"],"fixed":["4.1.2","3.4.0"],"advisory":"GHSA-7mvr-5x2g-wfc8"},{"ecosystem":"NuGet","name":"bootstrap","purl":"pkg:nuget/bootstrap","ranges":[">=4.0.0 <4.1.2",">=2.3.0 <3.4.0"],"fixed":["4.1.2","3.4.0"],"advisory":"GHSA-7mvr-5x2g-wfc8"},{"ecosystem":"RubyGems","name":"bootstrap-sass","purl":"pkg:gem/bootstrap-sass","ranges":[">=2.3.0 <3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-7mvr-5x2g-wfc8"},{"ecosystem":"npm","name":"bootstrap-sass","purl":"pkg:npm/bootstrap-sass","ranges":[">=2.0.4 <3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-7mvr-5x2g-wfc8"},{"ecosystem":"NuGet","name":"bootstrap.sass","purl":"pkg:nuget/bootstrap.sass","ranges":[">=4.0.0 <4.1.2"],"fixed":["4.1.2"],"advisory":"GHSA-7mvr-5x2g-wfc8"}],"cwes":["CWE-79"],"aliases":["GHSA-7mvr-5x2g-wfc8"],"references":[{"url":"https://seclists.org/bugtraq/2019/May/18","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://seclists.org/fulldisclosure/2019/May/11","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"http://seclists.org/fulldisclosure/2019/May/10","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"http://seclists.org/fulldisclosure/2019/May/13","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e%40%3Cdev.superset.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714%40%3Cissues.hbase.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://github.com/twbs/bootstrap/pull/26630","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/twbs/bootstrap/issues/26423","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/twbs/bootstrap/issues/26628","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-14042","tags":["advisory"]},{"url":"https://github.com/twbs/bootstrap/issues/26428","tags":["web"]},{"url":"https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d","tags":["web"]},{"url":"https://github.com/twbs/bootstrap/commit/2d90d369bbc2bd2647620246c55cec8c4705e3d0","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E","tags":["web"]},{"url":"https://github.com/twbs/bootstrap","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14042.yml","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14042.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7mvr-5x2g-wfc8","tags":["advisory"]},{"url":"https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.04009,"epssPercentile":0.90756,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-14042","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-14042","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-14042","ok":true,"note":"8 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7mvr-5x2g-wfc8","ok":true,"note":"GHSA-7mvr-5x2g-wfc8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-14042","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}