CVE-2018-20676: XSS

Published Aug 10, 2018
·
Updated

A flaw was found in Bootstrap before 3.4.0. XSS is possible in the tooltip data-viewport attribute.

References: https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/ https://github.com/twbs/bootstrap/issues/27044 https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906 https://github.com/twbs/bootstrap/issues/27915#issuecomment-452196628

Upstream Patch: https://github.com/twbs/bootstrap/pull/27047

Other sources

A flaw was found in Bootstrap, where it is vulnerable to Cross-site scripting, caused by improper validation of user-supplied input by the tooltip data-viewport attribute. This flaw allows a remote attacker to execute a script in a victim's Web browser within the security context of the hosting Web site, which can lead to stealing the victim's cookie-based authentication credentials.

Bootstrap is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the tooltip data-viewport attribute. A remote attacker could exploit this vulnerability to execute script in a victim's Web browser within the security context of the hosting Web site. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

IBM

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

Affected Software

16 affected componentsFixes available
redhat/ceph<2:17.2.6-148.el9c
2:17.2.6-148.el9c
redhat/ipa<0:4.6.8-5.el7
0:4.6.8-5.el7
redhat/ovirt-engine-api-explorer<0:0.0.4-1.el7e
0:0.0.4-1.el7e
redhat/ovirt-engine-api-explorer<0:0.0.5-1.el7e
0:0.0.5-1.el7e
redhat/ovirt-engine-ui-extensions<0:1.0.10-1.el7e
0:1.0.10-1.el7e
redhat/bootstrap<3.4.0
3.4.0
nuget/bootstrap<3.4.0
3.4.0
rubygems/bootstrap-sass<3.4.0
3.4.0
rubygems/bootstrap<3.4.0
3.4.0
maven/org.webjars:bootstrap<3.4.0
3.4.0
composer/twbs/bootstrap<3.4.0
3.4.0
npm/bootstrap-sass<3.4.0
3.4.0
npm/bootstrap<3.4.0
3.4.0
IBM Cognos Analytics<=12.0.0-12.0.3
IBM Cognos Analytics<=11.2.0-11.2.4 FP4
getbootstrap Bootstrap<3.4.0

Event History

Aug 10, 2018
CVE Published
12:00 AM
Jan 9, 2019
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
Description
Jan 17, 2019
Advisory Published
via GitHub·01:57 PM
Jan 21, 2019
Data Sourced
via Red Hat·09:28 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-20676?

CVE-2018-20676 is a vulnerability in Bootstrap before version 3.4.0 that allows for cross-site scripting (XSS) in the tooltip data-viewport attribute.

2

How severe is CVE-2018-20676?

CVE-2018-20676 has a severity score of 6.1, which is considered medium.

3

What software is affected by CVE-2018-20676?

Bootstrap versions before 3.4.0 are affected by CVE-2018-20676.

4

How can I fix CVE-2018-20676?

To fix CVE-2018-20676, you should update Bootstrap to version 3.4.0 or later.

5

Where can I find more information about CVE-2018-20676?

You can find more information about CVE-2018-20676 at the following references: [link 1](https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/), [link 2](https://github.com/twbs/bootstrap/issues/27044), [link 3](https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203