Description
In Bootstrap starting in version 2.3.0 and prior to 3.4.0, as well as 4.x before 4.1.2, XSS is possible in the collapse data-parent attribute.
Recommendation
Update the bootstrap package to the latest compatible version. Followings are version details:
Affected version(s): **>= 2.3.0, < 3.4.0 >= 4.0.0, < 4.1.2** Patched version(s): **3.4.0 4.1.2**
References
- GHSA-3wqf-4x89-9g79
- lists.apache.org
- lists.debian.org
- seclists.org
- www.oracle.com
- www.tenable.com
- packetstormsecurity.com
- blog.getbootstrap.com
- CVE-2018-14040
- CWE-79
- CAPEC-310
- OWASP 2021-A3
- OWASP 2021-A6
Related Issues
- Bootstrap Vulnerable to Cross-Site Scripting - bootstrap - CVE-2019-8331
- jsondiffpatch is vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin - CVE-2025-9910
- materialize-css vulnerable to cross-site Scripting (XSS) due to improper escape of user input - CVE-2022-25349
- Bootstrap Cross-Site Scripting (XSS) vulnerability for data-* attributes - CVE-2024-6485
You might also like:
- Tags:
- npm
- bootstrap
Anything's wrong? Let us know Last updated on August 05, 2024


