{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-20677","id":"CVE-2018-20677","title":"bootstrap Cross-site Scripting vulnerability","description":"In Bootstrap before 3.4.0, XSS is possible in the affix configuration target property.","descriptionLong":"In Bootstrap before 3.4.0, XSS is possible in the affix configuration target property.","published":"2019-01-09T05:00:00.000Z","updated":"2026-10-20T10:50:06.656709080Z","reserved":"2019-01-08T00: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":"npm","name":"bootstrap","purl":"pkg:npm/bootstrap","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-ph58-4vrj-w6hr"},{"ecosystem":"npm","name":"bootstrap-sass","purl":"pkg:npm/bootstrap-sass","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-ph58-4vrj-w6hr"},{"ecosystem":"Packagist","name":"twbs/bootstrap","purl":"pkg:composer/twbs/bootstrap","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-ph58-4vrj-w6hr"},{"ecosystem":"Maven","name":"org.webjars:bootstrap","purl":"pkg:maven/org.webjars/bootstrap","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-ph58-4vrj-w6hr"},{"ecosystem":"RubyGems","name":"bootstrap","purl":"pkg:gem/bootstrap","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-ph58-4vrj-w6hr"},{"ecosystem":"RubyGems","name":"bootstrap-sass","purl":"pkg:gem/bootstrap-sass","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-ph58-4vrj-w6hr"},{"ecosystem":"NuGet","name":"bootstrap","purl":"pkg:nuget/bootstrap","ranges":["<3.4.0"],"fixed":["3.4.0"],"advisory":"GHSA-ph58-4vrj-w6hr"}],"cwes":["CWE-79"],"aliases":["GHSA-ph58-4vrj-w6hr"],"references":[{"url":"https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/twbs/bootstrap/issues/27045","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory"]},{"url":"https://github.com/twbs/bootstrap/pull/27047","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/twbs/bootstrap/issues/27915#issuecomment-452196628","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1456","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://access.redhat.com/errata/RHBA-2019:1076","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://access.redhat.com/errata/RHBA-2019:1570","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","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","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0132","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0133","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","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.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20677","tags":["advisory"]},{"url":"https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.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-20677.yml","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-20677.yml","tags":["web"]},{"url":"https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03984,"epssPercentile":0.90703,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-20677","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20677","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-20677","ok":true,"note":"7 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-ph58-4vrj-w6hr","ok":true,"note":"GHSA-ph58-4vrj-w6hr"},{"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-20677","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}