{"id":"GHSA-3mgp-fx93-9xv5","summary":"XSS vulnerability that affects bootstrap","details":"In Bootstrap before 3.4.0, XSS is possible in the tooltip data-viewport attribute.","aliases":["CVE-2018-20676"],"modified":"2026-02-04T03:59:23.323429Z","published":"2019-01-17T13:57:34Z","related":["CGA-fhr2-585v-hj6m"],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed_at":"2020-06-16T20:55:33Z","github_reviewed":true,"nvd_published_at":"2019-01-09T05:29:00Z","severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20676"},{"type":"WEB","url":"https://github.com/twbs/bootstrap/issues/27915#issuecomment-452196628"},{"type":"WEB","url":"https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906"},{"type":"WEB","url":"https://github.com/twbs/bootstrap/issues/27044"},{"type":"WEB","url":"https://github.com/twbs/bootstrap/pull/27047"},{"type":"WEB","url":"https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E"},{"type":"PACKAGE","url":"https://github.com/twbs/bootstrap"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-20676.yml"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-20676.yml"},{"type":"WEB","url":"https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0133"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0132"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3023"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1456"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2019:1570"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2019:1076"}],"affected":[{"package":{"name":"bootstrap","ecosystem":"npm","purl":"pkg:npm/bootstrap"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-3mgp-fx93-9xv5/GHSA-3mgp-fx93-9xv5.json"}},{"package":{"name":"bootstrap-sass","ecosystem":"npm","purl":"pkg:npm/bootstrap-sass"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-3mgp-fx93-9xv5/GHSA-3mgp-fx93-9xv5.json"}},{"package":{"name":"twbs/bootstrap","ecosystem":"Packagist","purl":"pkg:composer/twbs/bootstrap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0"}]}],"versions":["v2.2.2","v2.3.0","v2.3.1","v2.3.2","v3.0.0","v3.0.0-rc.2","v3.0.0-rc1","v3.0.1","v3.0.2","v3.0.3","v3.1.0","v3.1.1","v3.2.0","v3.3.0","v3.3.1","v3.3.2","v3.3.4","v3.3.5","v3.3.6","v3.3.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-3mgp-fx93-9xv5/GHSA-3mgp-fx93-9xv5.json"}},{"package":{"name":"org.webjars:bootstrap","ecosystem":"Maven","purl":"pkg:maven/org.webjars/bootstrap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0"}]}],"versions":["1.3.0","2.0.2","2.1.1","2.2.1","2.2.2","2.2.2-1","2.3.0","2.3.1","2.3.1-1","2.3.2","3.0.0","3.0.0-rc.2","3.0.0-rc1","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1","3.1.1-1","3.1.1-2","3.2.0","3.2.0-1","3.2.0-2","3.3.0","3.3.1","3.3.2","3.3.2-1","3.3.2-2","3.3.4","3.3.5","3.3.6","3.3.7","3.3.7-1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-3mgp-fx93-9xv5/GHSA-3mgp-fx93-9xv5.json"}},{"package":{"name":"bootstrap","ecosystem":"RubyGems","purl":"pkg:gem/bootstrap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-3mgp-fx93-9xv5/GHSA-3mgp-fx93-9xv5.json"}},{"package":{"name":"bootstrap-sass","ecosystem":"RubyGems","purl":"pkg:gem/bootstrap-sass"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0"}]}],"versions":["1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","2.0.0","2.0.1","2.0.2","2.0.3","2.0.3.1","2.0.4.0","2.0.4.1","2.0.4.2","2.1.0.0","2.1.0.1","2.1.1.0","2.2.1.0","2.2.1.1","2.2.2.0","2.3.0.0","2.3.0.1","2.3.1.0","2.3.1.2","2.3.1.3","2.3.2.0","2.3.2.1","2.3.2.2","3.0.0.0","3.0.0.0.rc","3.0.0.0.rc2","3.0.1.0","3.0.1.0.rc","3.0.2.0","3.0.2.1","3.0.3.0","3.1.0.0","3.1.0.1","3.1.0.2","3.1.1.0","3.1.1.1","3.2.0.4","3.3.0.0","3.3.0.1","3.3.1.0","3.3.2.0","3.3.2.1","3.3.3","3.3.4.1","3.3.5","3.3.5.1","3.3.6","3.3.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-3mgp-fx93-9xv5/GHSA-3mgp-fx93-9xv5.json"}},{"package":{"name":"bootstrap","ecosystem":"NuGet","purl":"pkg:nuget/bootstrap"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0"}]}],"versions":["1.0.0","2.3.1","2.3.2","3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1","3.2.0","3.3.0","3.3.1","3.3.2","3.3.4","3.3.5","3.3.6","3.3.6-jQuery3","3.3.6.1","3.3.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-3mgp-fx93-9xv5/GHSA-3mgp-fx93-9xv5.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}