CVE-2019-8331: XSS

Published Feb 11, 2019
·
Updated

A cross-site scripting vulnerability was discovered in bootstrap. If an attacker could control the data given to tooltip or popover, they could inject HTML or Javascript into the rendered page when tooltip or popover events fired.

Other sources

A vulnerability was found in Bootstrap before 4.3.1. An XSS is possible in the tooltip or popover data-template attribute.

References: https://github.com/twbs/bootstrap/releases/tag/v4.3.1

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

Red Hat

Bootstrap is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the tooltip or popover data-template. 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.1 and 4.3.x before 4.3.1, XSS is possible in the tooltip or popover data-template attribute.

Versions of bootstrap prior to 3.4.1 for 3.x and 4.3.1 for 4.x are vulnerable to Cross-Site Scripting (XSS). The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

Recommendation

For bootstrap 4.x upgrade to 4.3.1 or later. For bootstrap 3.x upgrade to 3.4.1 or later.

GitHub

Affected Software

80 affected componentsFixes available
redhat/ipa<0:4.6.8-5.el7
0:4.6.8-5.el7
redhat/eap7-hal-console<0:3.3.16-1.Final_redhat_00001.1.el8ea
0:3.3.16-1.Final_redhat_00001.1.el8ea
redhat/eap7-hal-console<0:3.3.16-1.Final_redhat_00001.1.el9ea
0:3.3.16-1.Final_redhat_00001.1.el9ea
redhat/eap7-hal-console<0:3.3.16-1.Final_redhat_00001.1.el7ea
0:3.3.16-1.Final_redhat_00001.1.el7ea
redhat/ovirt-engine-ui-extensions<0:1.0.10-1.el7e
0:1.0.10-1.el7e
redhat/ovirt-web-ui<0:1.6.0-1.el7e
0:1.6.0-1.el7e
redhat/ovirt-engine-api-explorer<0:0.0.6-1.el8e
0:0.0.6-1.el8e
redhat/bootstrap<4.3.1
4.3.1
composer/twbs/bootstrap>=4.0.0<4.3.1
4.3.1
composer/twbs/bootstrap>=3.0.0<3.4.1
3.4.1
maven/org.webjars:bootstrap>=4.0.0<4.3.1
4.3.1
maven/org.webjars:bootstrap>=3.0.0<3.4.1
3.4.1
rubygems/twitter-bootstrap-rails<=5.0.0
npm/bootstrap-sass>=3.0.0<3.4.1
3.4.1
npm/bootstrap>=3.0.0<3.4.1
3.4.1
npm/bootstrap>=4.0.0<4.3.1
4.3.1
nuget/bootstrap.sass<4.3.1
4.3.1
nuget/bootstrap>=3.0.0<3.4.1
3.4.1
nuget/bootstrap>=4.0.0<4.3.1
4.3.1
nuget/Bootstrap.Less>=3.0.0<3.4.1
3.4.1
rubygems/bootstrap-sass>=3.0.0<3.4.1
3.4.1
rubygems/bootstrap<4.3.1
4.3.1
IBM Cognos Analytics<=12.0.0-12.0.3
IBM Cognos Analytics<=11.2.0-11.2.4 FP4
getbootstrap Bootstrap<3.4.1
getbootstrap Bootstrap>=4.3.0<4.3.1
F5 BIG-IP Access Policy Manager>=12.1.0<12.1.5.1
F5 BIG-IP Access Policy Manager>=13.0.0<13.1.3.4
F5 BIG-IP Access Policy Manager>=14.0.0<14.1.2.5
F5 BIG-IP Access Policy Manager>=15.0.0<15.1.0
F5 BIG-IP Advanced Firewall Manager>=12.1.0<12.1.5.1
F5 BIG-IP Advanced Firewall Manager>=13.0.0<13.1.3.4
F5 BIG-IP Advanced Firewall Manager>=14.0.0<14.1.2.5
F5 BIG-IP Advanced Firewall Manager>=15.0.0<15.1.0
F5 BIG-IP Analytics>=12.1.0<12.1.5.1
F5 BIG-IP Analytics>=13.0.0<13.1.3.4
F5 BIG-IP Analytics>=14.0.0<14.1.2.5
F5 BIG-IP Analytics>=15.0.0<15.1.0
F5 Big-ip Application Acceleration Manager>=12.1.0<12.1.5.1
F5 Big-ip Application Acceleration Manager>=13.0.0<13.1.3.4
F5 Big-ip Application Acceleration Manager>=14.0.0<14.1.2.5
F5 Big-ip Application Acceleration Manager>=15.0.0<15.1.0
F5 BIG-IP Application Security Manager>=12.1.0<12.1.5.1
F5 BIG-IP Application Security Manager>=13.0.0<13.1.3.4
F5 BIG-IP Application Security Manager>=14.0.0<14.1.2.5
F5 BIG-IP Application Security Manager>=15.0.0<15.1.0
F5 Big-ip Domain Name System>=12.1.0<12.1.5.1
F5 Big-ip Domain Name System>=13.0.0<13.1.3.4
F5 Big-ip Domain Name System>=14.0.0<14.1.2.5
F5 Big-ip Domain Name System>=15.0.0<15.1.0
F5 BIG-IP Edge Gateway>=12.1.0<12.1.5.1
F5 BIG-IP Edge Gateway>=13.0.0<13.1.3.4
F5 BIG-IP Edge Gateway>=14.0.0<14.1.2.5
F5 BIG-IP Edge Gateway>=15.0.0<15.1.0
F5 Big-ip Fraud Protection Service>=12.1.0<12.1.5.1
F5 Big-ip Fraud Protection Service>=13.0.0<13.1.3.4
F5 Big-ip Fraud Protection Service>=14.0.0<14.1.2.5
F5 Big-ip Fraud Protection Service>=15.0.0<15.1.0
F5 Big-ip Global Traffic Manager>=12.1.0<12.1.5.1
F5 Big-ip Global Traffic Manager>=13.0.0<13.1.3.4
F5 Big-ip Global Traffic Manager>=14.0.0<14.1.2.5
F5 Big-ip Global Traffic Manager>=15.0.0<15.1.0
F5 Big-ip Link Controller>=12.1.0<12.1.5.1
F5 Big-ip Link Controller>=13.0.0<13.1.3.4
F5 Big-ip Link Controller>=14.0.0<14.1.2.5
F5 Big-ip Link Controller>=15.0.0<15.1.0
F5 Big-ip Local Traffic Manager>=12.1.0<12.1.5.1
F5 Big-ip Local Traffic Manager>=13.0.0<13.1.3.4
F5 Big-ip Local Traffic Manager>=14.0.0<14.1.2.5
F5 Big-ip Local Traffic Manager>=15.0.0<15.1.0
F5 Big-ip Policy Enforcement Manager>=12.1.0<12.1.5.1
F5 Big-ip Policy Enforcement Manager>=13.0.0<13.1.3.4
F5 Big-ip Policy Enforcement Manager>=14.0.0<14.1.2.5
F5 Big-ip Policy Enforcement Manager>=15.0.0<15.1.0
F5 Big-ip Webaccelerator>=12.1.0<12.1.5.1
F5 Big-ip Webaccelerator>=13.0.0<13.1.3.4
F5 Big-ip Webaccelerator>=14.0.0<14.1.2.5
F5 Big-ip Webaccelerator>=15.0.0<15.1.0
redhat Virtualization Manager=4.3
Tenable Tenable.Sc<5.19.0

Event History

Feb 11, 2019
CVE Published
12:00 AM
Feb 20, 2019
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Feb 22, 2019
Advisory Published
via GitHub·08:54 PM
Mar 7, 2019
Data Sourced
via Red Hat·01:49 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 the severity of CVE-2019-8331?

The severity of CVE-2019-8331 is medium.

2

Which versions of Bootstrap are affected by CVE-2019-8331?

Bootstrap versions before 3.4.1 and 4.3.x before 4.3.1 are affected by CVE-2019-8331.

3

How does CVE-2019-8331 impact the user?

CVE-2019-8331 allows a remote attacker to execute script in a victim's web browser within the security context of the hosting website.

4

How can I fix CVE-2019-8331?

To fix CVE-2019-8331, you need to upgrade to Bootstrap version 3.4.1 or 4.3.1.

5

Where can I find more information about CVE-2019-8331?

More information about CVE-2019-8331 can be found at the following references: [link1](https://exchange.xforce.ibmcloud.com/vulnerabilities/157409), [link2](https://www.ibm.com/support/pages/node/6570957), [link3](https://github.com/twbs/bootstrap/releases/tag/v4.3.1).

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