{"id":"CVE-2019-8331","published":"2019-02-20T16:00:00Z","modified":"2024-08-04T21:17:31Z","title":"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","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.16404,"percentile":0.97053,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/107375","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://seclists.org/bugtraq/2019/May/18","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://seclists.org/fulldisclosure/2019/May/11","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://seclists.org/fulldisclosure/2019/May/10","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://seclists.org/fulldisclosure/2019/May/13","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1456","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.apache.org/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854%40%3Cuser.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731%40%3Cdev.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49%40%3Cuser.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2%40%3Cuser.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e%40%3Cdev.superset.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3023","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3024","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714%40%3Cissues.hbase.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/twbs/bootstrap/pull/28236","tags":["x_refsource_MISC"]},{"url":"https://github.com/twbs/bootstrap/releases/tag/v4.3.1","tags":["x_refsource_MISC"]},{"url":"https://blog.getbootstrap.com/2019/02/13/bootstrap-4-3-1-and-3-4-1/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/twbs/bootstrap/releases/tag/v3.4.1","tags":["x_refsource_MISC"]},{"url":"https://support.f5.com/csp/article/K24383845","tags":["x_refsource_CONFIRM"]},{"url":"https://support.f5.com/csp/article/K24383845?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.41},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":3,"skipped":0,"earliest":"2022-05-23","earliestUrl":"https://github.com/Snorlyd/https-nj.gov---CVE-2019-8331","repos":[{"name":"Yumeae/Bootstrap-with-XSS","url":"https://github.com/Yumeae/Bootstrap-with-XSS","stars":4,"created":"2025-07-21"},{"name":"Snorlyd/https-nj.gov---CVE-2019-8331","url":"https://github.com/Snorlyd/https-nj.gov---CVE-2019-8331","stars":0,"created":"2022-05-23"},{"name":"Thampakon/CVE-2019-8331","url":"https://github.com/Thampakon/CVE-2019-8331","stars":0,"created":"2023-09-09"}]},"first":{"date":"2022-05-23","source":"PoC-in-GitHub","url":"https://github.com/Snorlyd/https-nj.gov---CVE-2019-8331"},"provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"bootstrap","vulnerableRanges":["<4.3.1"],"patched":["4.3.1"],"from":["GHSA-9v3m-8fp8-mj99"],"provenance":"source"},{"ecosystem":"RubyGems","package":"bootstrap-sass","vulnerableRanges":[">=3.0.0, <3.4.1"],"patched":["3.4.1"],"from":["GHSA-9v3m-8fp8-mj99"],"provenance":"source"},{"ecosystem":"NuGet","package":"Bootstrap.Less","vulnerableRanges":[">=3.0.0, <3.4.1"],"patched":["3.4.1"],"from":["GHSA-9v3m-8fp8-mj99"],"provenance":"source"},{"ecosystem":"NuGet","package":"bootstrap","vulnerableRanges":[">=4.0.0, <4.3.1",">=3.0.0, <3.4.1"],"patched":["4.3.1","3.4.1"],"from":["GHSA-9v3m-8fp8-mj99"],"provenance":"source"},{"ecosystem":"NuGet","package":"bootstrap.sass","vulnerableRanges":["<4.3.1"],"patched":["4.3.1"],"from":["GHSA-9v3m-8fp8-mj99"],"provenance":"source"},{"ecosystem":"npm","package":"bootstrap","vulnerableRanges":[">=4.0.0, <4.3.1",">=3.0.0, <3.4.1"],"patched":["4.3.1","3.4.1"],"from":["GHSA-9v3m-8fp8-mj99"],"provenance":"source"},{"ecosystem":"npm","package":"bootstrap-sass","vulnerableRanges":[">=3.0.0, <3.4.1"],"patched":["3.4.1"],"from":["GHSA-9v3m-8fp8-mj99"],"provenance":"source"},{"ecosystem":"RubyGems","package":"twitter-bootstrap-rails","vulnerableRanges":["<5.3.0"],"patched":["5.3.0"],"from":["GHSA-9v3m-8fp8-mj99"],"provenance":"source"},{"ecosystem":"Maven","package":"org.webjars:bootstrap","vulnerableRanges":[">=3.0.0, <3.4.1",">=4.0.0, <4.3.1"],"patched":["3.4.1","4.3.1"],"from":["GHSA-9v3m-8fp8-mj99"],"provenance":"source"},{"ecosystem":"Packagist","package":"twbs/bootstrap","vulnerableRanges":[">=3.0.0, <3.4.1",">=4.0.0, <4.3.1"],"patched":["3.4.1","4.3.1"],"from":["GHSA-9v3m-8fp8-mj99"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting issue in the Bootstrap front-end framework, affecting versions before 3.4.1 and 4.3.x before 4.3.1, specifically in the data-template attribute used by its tooltip and popover components. An attacker can inject script into that attribute.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:48:16Z"},"euvd":{"id":"EUVD-2019-0272","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html"],"lineage":{"packageHistory":[{"cve":"CVE-2018-14040","published":"2018-07-13","fixed":"4.1.2","kev":false},{"cve":"CVE-2018-14041","published":"2018-07-13","fixed":"4.1.2","kev":false},{"cve":"CVE-2018-14042","published":"2018-07-13","fixed":"4.1.2","kev":false,"link":{"from":"CVE-2018-14042","to":"CVE-2019-8331","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:bootstrap","fromFixed":"4.1.2","toFixed":"4.3.1","daysApart":222},{"kind":"version-step","provenance":"source","package":"NuGet:bootstrap","fromFixed":"4.1.2","toFixed":"4.3.1","daysApart":222}]}},{"cve":"CVE-2019-8331","published":"2019-02-20","fixed":"4.3.1","kev":false}],"package":"RubyGems:bootstrap"}}