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
- GHSA-pj7m-g53m-7638
- access.redhat.com
- lists.apache.org
- seclists.org
- www.oracle.com
- packetstormsecurity.com
- typo3.org
- blog.getbootstrap.com
- CVE-2018-14041
- CWE-79
- CAPEC-310
- OWASP 2021-A3
- OWASP 2021-A6
Related Issues
- Bootstrap Cross-site Scripting vulnerability (GHSA-4p24-vmcr-4gqj) - CVE-2016-10735
- Nuxt has Client-Side Path Traversal in Nuxt Island Payload Revival - CVE-2025-59414
- @astrojs/node's trailing slash handling causes open redirect issue - CVE-2025-55207
- Linkify Allows Prototype Pollution & HTML Attribute Injection (XSS) - CVE-2025-8101
- Tags:
- npm
- bootstrap
Anything's wrong? Let us know Last updated on August 01, 2024