Description
In Bootstrap 4.x before 4.1.2, XSS is possible in the data-target property of scrollspy. This is similar to CVE-2018-14042.
Recommendation
Update the bootstrap package to the latest compatible version. Followings are version details:
- Affected version(s): >= 4.0.0, < 4.1.2
- Patched version(s): 4.1.2
References
Could your website be exposed too?
SmartScanner can check your website for Bootstrap Cross-site Scripting vulnerability - bootstrap - GHSA-pj7m-g53m-7638 and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Bootstrap Cross-site Scripting vulnerability - bootstrap - GHSA-7mvr-5x2g-wfc8 - CVE-2018-14042
- bootstrap Cross-site Scripting vulnerability - bootstrap-sass - GHSA-ph58-4vrj-w6hr - CVE-2018-20677
- bootstrap Cross-site Scripting vulnerability - bootstrap - CVE-2018-20677
- Bootstrap Cross-site Scripting vulnerability - bootstrap-sass - CVE-2018-14042
You might also like:
See something that needs correcting? Let us knowUpdated November 19, 2025


