Description
In Bootstrap 2.x from 2.0.4, 3.x before 3.4.0 and 4.x-beta before 4.0.0-beta.2, XSS is possible in the data-target attribute. Note that this is a different vulnerability than CVE-2018-14041.
See https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/ for more info.
Recommendation
Update the bootstrap package to the latest compatible version. Followings are version details:
Affected version(s): **>= 2.0.4, < 3.4.0 >= 4.0.0-beta, < 4.0.0-beta.2** Patched version(s): **3.4.0 4.0.0-beta.2**
References
Could your website be exposed too?
SmartScanner can check your website for Bootstrap Cross-site Scripting vulnerability - bootstrap - GHSA-4p24-vmcr-4gqj and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Bootstrap Cross-site Scripting vulnerability - CVE-2016-10735
- Bootstrap Cross-site Scripting vulnerability - bootstrap - GHSA-7mvr-5x2g-wfc8 - CVE-2018-14042
- Bootstrap Cross-site Scripting vulnerability - bootstrap - GHSA-pj7m-g53m-7638 - CVE-2018-14041
- bootstrap Cross-site Scripting vulnerability - bootstrap-sass - GHSA-ph58-4vrj-w6hr - CVE-2018-20677


