cve.bz

CVE-2018-20676 getbootstrap bootstrap: Cross-site Scripting

6.1 mediumEPSS 3.8%Fix available

Medium (6.1) in getbootstrap bootstrap. EPSS 3.8% estimated probability of exploitation activity in the next 30 days. Fixed in bootstrap 3.4.0.

On this page
In Bootstrap before 3.4.0, XSS is possible in the tooltip data-viewport attribute.

Severity

CVSS 3.0

6.1 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
3.8% (unchanged from 3.8% a week ago; 3.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • bootstrap (npm): fixed in 3.4.0
  • bootstrap-sass (npm): fixed in 3.4.0
  • twbs/bootstrap (Packagist): fixed in 3.4.0
  • org.webjars:bootstrap (Maven): fixed in 3.4.0
  • bootstrap (RubyGems): fixed in 3.4.0
  • bootstrap-sass (RubyGems): fixed in 3.4.0
  • bootstrap (NuGet): fixed in 3.4.0
  • Debian, Red Hat, AlmaLinux, Rocky Linux: fixed package versions per release
  • Patch: https://github.com/twbs/bootstrap/pull/27047

Ask an AI about this CVE

Show the promptExplain CVE-2018-20676 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20676?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20676?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-20676 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
getbootstrap:bootstrapbefore 3.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3mgp-fx93-9xv5npmbootstrap<3.4.03.4.0
GHSA-3mgp-fx93-9xv5npmbootstrap-sass<3.4.03.4.0
GHSA-3mgp-fx93-9xv5Packagisttwbs/bootstrap<3.4.03.4.0
GHSA-3mgp-fx93-9xv5Mavenorg.webjars:bootstrap<3.4.03.4.0
GHSA-3mgp-fx93-9xv5RubyGemsbootstrap<3.4.03.4.0
GHSA-3mgp-fx93-9xv5RubyGemsbootstrap-sass<3.4.03.4.0
GHSA-3mgp-fx93-9xv5NuGetbootstrap<3.4.03.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14twitter-bootstrap33.4.0+dfsg-1DEBIAN-CVE-2018-20676
Ubuntu16.04:LTS, 18.04:LTStwitter-bootstrapno fix listedUBUNTU-CVE-2018-20676
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 3 moretwitter-bootstrap4no fix listedUBUNTU-CVE-2018-20676
UbuntuPro:16.04:LTS, Pro:18.04:LTStwitter-bootstrap3no fix listedUBUNTU-CVE-2018-20676
Red Hatceph_storage:6.1::el9ceph, cephadm, librbd1 and 52 more2:17.2.6-148.el9cpRHSA-2023:5693
Red Hatceph_storage:6.1::el9cephadm-ansible0:3.0.0-1.el9cpRHSA-2023:5693
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreipa, ipa-client, ipa-common and 10 more0:4.6.8-5.el7RHSA-2020:3936
Red Hatenterprise_linux:8::appstreambind-dyndb-ldap, bind-dyndb-ldap-debuginfo, bind-dyndb-ldap-debugsource0:11.3-1.module+el8.3.0+6993+104f8db0RHSA-2020:4670
Red Hatenterprise_linux:8::appstreamcustodia, python3-custodia0:0.6.0-3.module+el8.1.0+4098+f286395eRHSA-2020:4670
Red Hatenterprise_linux:8::appstreamipa, ipa-client, ipa-common and 10 more0:4.8.7-12.module+el8.3.0+8223+6212645fRHSA-2020:4670
Red Hatenterprise_linux:8::appstreamipa-healthcheck, ipa-healthcheck-core0:0.4-6.module+el8.3.0+7711+c4441980RHSA-2020:4670
Red Hatenterprise_linux:8::appstreamipa-server, ipa-server-dns, ipa-server-common and 4 more0:4.8.7-12.module+el8.3.0+8222+c1bff54aRHSA-2020:4670
Red Hatenterprise_linux:8::appstreamopendnssec, opendnssec-debuginfo, opendnssec-debugsource0:2.1.6-2.module+el8.3.0+6580+328a3362RHSA-2020:4670
Red Hatenterprise_linux:8::appstreampython-jwcrypto, python3-jwcrypto0:0.5.0-1.module+el8.1.0+4107+4a66eb87RHSA-2020:4670
Red Hatenterprise_linux:8::appstreampython-kdcproxy, python3-kdcproxy0:0.4-5.module+el8.2.0+4691+a05b2456RHSA-2020:4670
Red Hatenterprise_linux:8::appstreampython-qrcode, python3-qrcode, python3-qrcode-core0:5.1-12.module+el8.1.0+4107+4a66eb87RHSA-2020:4670
8 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8custodia, python3-custodia0.6.0-3.module_el8.6.0+2881+2f24dc92ALSA-2020:4670
AlmaLinux8python3-jwcrypto0.5.0-1.module_el8.5.0+2641+983b221bALSA-2020:4670
AlmaLinux8python3-jwcrypto0.5.0-1.module_el8.6.0+2737+7e73ea90ALSA-2020:4670
AlmaLinux8python3-jwcrypto0.5.0-1.module_el8.6.0+2881+2f24dc92ALSA-2020:4670
AlmaLinux8python3-kdcproxy0.4-5.module_el8.6.0+2881+2f24dc92ALSA-2020:4670
AlmaLinux8python3-pyusb1.0.0-9.module_el8.5.0+2641+983b221bALSA-2020:4670
AlmaLinux8python3-pyusb1.0.0-9.module_el8.6.0+2737+7e73ea90ALSA-2020:4670
AlmaLinux8python3-pyusb1.0.0-9.module_el8.6.0+2881+2f24dc92ALSA-2020:4670
AlmaLinux8python3-qrcode, python3-qrcode-core5.1-12.module_el8.5.0+2641+983b221bALSA-2020:4670
AlmaLinux8python3-qrcode, python3-qrcode-core5.1-12.module_el8.6.0+2737+7e73ea90ALSA-2020:4670
AlmaLinux8python3-qrcode, python3-qrcode-core5.1-12.module_el8.6.0+2881+2f24dc92ALSA-2020:4670
AlmaLinux8python3-yubico1.3.2-9.module_el8.5.0+2641+983b221bALSA-2020:4670
2 more for AlmaLinux in the JSON.
Rocky Linux8custodia0:0.6.0-3.module+el8.4.0+429+6bd33feaRLSA-2020:4670
Rocky Linux8python-jwcrypto0:0.5.0-1.1.module+el8.7.0+1074+aae18f3aRLSA-2020:4670
Rocky Linux8python-jwcrypto0:0.5.0-1.module+el8.4.0+429+6bd33feaRLSA-2020:4670
Rocky Linux8python-kdcproxy0:0.4-5.module+el8.3.0+244+0b2ae752RLSA-2020:4670
Rocky Linux8python-qrcode0:5.1-12.module+el8.4.0+429+6bd33feaRLSA-2020:4670
Rocky Linux8python-yubico0:1.3.2-9.1.module+el8.7.0+1074+aae18f3aRLSA-2020:4670
Rocky Linux8python-yubico0:1.3.2-9.module+el8.4.0+429+6bd33feaRLSA-2020:4670
Rocky Linux8pyusb0:1.0.0-9.1.module+el8.7.0+1074+aae18f3aRLSA-2020:4670
Rocky Linux8pyusb0:1.0.0-9.module+el8.4.0+429+6bd33feaRLSA-2020:4670

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat CloudForms 4.6 and newer versions include the vulnerable component, but there is no risk of exploitation, since there is no possible vector to access the vulnerability. Older Red Hat CloudForms versions do not use the vulnerable component at all.

Red Hat Virtualization 4.2 EUS contains the affected version of bootstrap in the packages ovirt-js-dependencies and ovirt-engine-dashboard. These packages are deprecated in Red Hat Virtualization 4.3.

ProductPackageStateAdvisory
Red Hat Decision Manager 7bootstrapFixed 2020-01-16RHSA-2020:0133
Red Hat Enterprise Linux 7ipa-0:4.6.8-5.el7Fixed 2020-09-29RHSA-2020:3936
Red Hat Enterprise Linux 8idm:client-8030020200923172426.05ac3f11Fixed 2020-11-04RHSA-2020:4670
Red Hat Enterprise Linux 8idm:DL1-8030020200923172343.9c827e52Fixed 2020-11-04RHSA-2020:4670
Red Hat OpenStack Platform 13.0 (Queens)python-XStatic-Bootstrap-SCSS-0:3.4.1.0-1.el7ostFixed 2020-12-16RHSA-2020:5571
Red Hat OpenStack Platform 13.0 (Queens) for RHEL 7.6 EUSpython-XStatic-Bootstrap-SCSS-0:3.4.1.0-1.el7ostFixed 2020-12-16RHSA-2020:5571
Red Hat Process Automation 7bootstrapFixed 2020-01-16RHSA-2020:0132
Red Hat Single Sign-On 7.3.2 zipbootstrapFixed 2019-06-11RHSA-2019:1456
Red Hat Virtualization Engine 4.3ovirt-engine-api-explorer-0:0.0.4-1.el7evFixed 2019-05-08RHBA-2019:1076
Red Hat Virtualization Engine 4.3ovirt-engine-api-explorer-0:0.0.5-1.el7evFixed 2019-06-20RHBA-2019:1570
CloudForms Management Engine 5cfme-gemsetNot affected
OpenShift Service Mesh 2.1servicemesh-prometheusNot affected
Red Hat 3scale API Management Platform 2bootstrapNot affected
Red Hat Ceph Storage 4cephOut of support scope
Red Hat Ceph Storage 5cephAffected
Red Hat Discovery 1discovery-server-containerNot affected
Red Hat Enterprise Linux 7pki-coreNot affected
Red Hat Enterprise Linux 8389-ds:1.4/389-ds-baseUnder investigation
Red Hat Enterprise Linux 8cockpitUnder investigation
Red Hat Enterprise Linux 8cockpit-appstreamUnder investigation
25 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-20676.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON