{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-8331","id":"CVE-2019-8331","title":"Bootstrap Vulnerable to Cross-Site Scripting","description":"In Bootstrap before 3.4.1 and 4.3.x before 4.3.1, XSS is possible in the tooltip or popover data-template attribute.","descriptionLong":"In Bootstrap before 3.4.1 and 4.3.x before 4.3.1, XSS is possible in the tooltip or popover data-template attribute.","published":"2019-02-20T16:00:00.000Z","updated":"2026-10-24T10:49:56.398673751Z","reserved":"2019-02-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/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.3.1"],"fixed":["4.3.1"],"advisory":"GHSA-9v3m-8fp8-mj99"},{"ecosystem":"RubyGems","name":"bootstrap-sass","purl":"pkg:gem/bootstrap-sass","ranges":[">=3.0.0 <3.4.1"],"fixed":["3.4.1"],"advisory":"GHSA-9v3m-8fp8-mj99"},{"ecosystem":"NuGet","name":"Bootstrap.Less","purl":"pkg:nuget/Bootstrap.Less","ranges":[">=3.0.0 <3.4.1"],"fixed":["3.4.1"],"advisory":"GHSA-9v3m-8fp8-mj99"},{"ecosystem":"NuGet","name":"bootstrap","purl":"pkg:nuget/bootstrap","ranges":[">=4.0.0 <4.3.1",">=3.0.0 <3.4.1"],"fixed":["4.3.1","3.4.1"],"advisory":"GHSA-9v3m-8fp8-mj99"},{"ecosystem":"NuGet","name":"bootstrap.sass","purl":"pkg:nuget/bootstrap.sass","ranges":["<4.3.1"],"fixed":["4.3.1"],"advisory":"GHSA-9v3m-8fp8-mj99"},{"ecosystem":"npm","name":"bootstrap","purl":"pkg:npm/bootstrap","ranges":[">=4.0.0 <4.3.1",">=3.0.0 <3.4.1"],"fixed":["4.3.1","3.4.1"],"advisory":"GHSA-9v3m-8fp8-mj99"},{"ecosystem":"npm","name":"bootstrap-sass","purl":"pkg:npm/bootstrap-sass","ranges":[">=3.0.0 <3.4.1"],"fixed":["3.4.1"],"advisory":"GHSA-9v3m-8fp8-mj99"},{"ecosystem":"RubyGems","name":"twitter-bootstrap-rails","purl":"pkg:gem/twitter-bootstrap-rails","ranges":["<5.3.0"],"fixed":["5.3.0"],"advisory":"GHSA-9v3m-8fp8-mj99"},{"ecosystem":"Maven","name":"org.webjars:bootstrap","purl":"pkg:maven/org.webjars/bootstrap","ranges":[">=3.0.0 <3.4.1",">=4.0.0 <4.3.1"],"fixed":["3.4.1","4.3.1"],"advisory":"GHSA-9v3m-8fp8-mj99"},{"ecosystem":"Packagist","name":"twbs/bootstrap","purl":"pkg:composer/twbs/bootstrap","ranges":[">=3.0.0 <3.4.1",">=4.0.0 <4.3.1"],"fixed":["3.4.1","4.3.1"],"advisory":"GHSA-9v3m-8fp8-mj99"}],"cwes":["CWE-79"],"aliases":["GHSA-9v3m-8fp8-mj99"],"references":[{"url":"http://www.securityfocus.com/bid/107375","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://seclists.org/bugtraq/2019/May/18","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2019/May/11","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2019/May/10","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2019/May/13","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1456","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.apache.org/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854%40%3Cuser.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731%40%3Cdev.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49%40%3Cuser.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2%40%3Cuser.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","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://access.redhat.com/errata/RHSA-2019:3023","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3024","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","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","Third Party Advisory","VDB Entry","advisory","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","Third Party Advisory","advisory","web"]},{"url":"https://github.com/twbs/bootstrap/pull/28236","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/twbs/bootstrap/releases/tag/v4.3.1","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://blog.getbootstrap.com/2019/02/13/bootstrap-4-3-1-and-3-4-1/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/twbs/bootstrap/releases/tag/v3.4.1","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","advisory","web"]},{"url":"https://support.f5.com/csp/article/K24383845","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://support.f5.com/csp/article/K24383845?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-8331","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854@%3Cuser.flink.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/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.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/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E","tags":["web"]},{"url":"https://support.f5.com/csp/article/K24383845?utm_source=f5support&amp;utm_medium=RSS","tags":["web"]},{"url":"https://web.archive.org/web/20200227083900/http://www.securityfocus.com/bid/107375","tags":["web"]},{"url":"https://blog.getbootstrap.com/2019/02/13/bootstrap-4-3-1-and-3-4-1","tags":["web"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-8331","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9v3m-8fp8-mj99","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2019-8331.yml","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/twitter-bootstrap-rails/CVE-2019-8331.yml","tags":["web"]},{"url":"https://github.com/seyhunak/twitter-bootstrap-rails/tree/master/app/assets/javascripts/twitter/bootstrap","tags":["web"]},{"url":"https://github.com/twbs/bootstrap","tags":["package"]},{"url":"https://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731@%3Cdev.flink.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49@%3Cuser.flink.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2@%3Cuser.flink.apache.org%3E","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.16404,"epssPercentile":0.97039,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-8331","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-8331","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-8331","ok":true,"note":"10 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9v3m-8fp8-mj99","ok":true,"note":"GHSA-9v3m-8fp8-mj99"},{"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-2019-8331","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}