Reflected cross-site scripting (XSS) In bootstrap

Description

Bootstrap vulnerable to Cross-Site Scripting (XSS) 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.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version
Patched versions

1-10 of 15

10

References

1. https://github.com/twbs/bootstrap/issues/264232. https://github.com/twbs/bootstrap/issues/266253. https://github.com/twbs/bootstrap/pull/266304. https://github.com/twbs/bootstrap-rubygem/commit/f34c43c936ac7d0ebb129289321d8c51cd56aed1#diff-4e736e880b7fc39eb5e85576b629f6e3cd08f02f45104a7b4581f82852e97a81R13065. https://github.com/twbs/bootstrap/commit/149096016f70fd815540d62c0989fd99cdc809e06. https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d7. https://www.oracle.com/security-alerts/cpuApr2021.html8. https://seclists.org/bugtraq/2019/May/189. https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E10. https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3E11. https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E12. https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E13. https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E14. https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E15. https://github.com/twbs/bootstrap/blob/v3.4.1/js/tooltip.js#L35216. https://github.com/twbs/bootstrap/blob/v3.4.1/js/scrollspy.js#L5617. https://github.com/twbs/bootstrap/blob/v3.4.1/js/collapse.js#L14018. https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14040.yml19. https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14040.yml20. https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-221. http://packetstormsecurity.com/files/152787/dotCMS-5.1.1-Vulnerable-Dependencies.html22. http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html23. http://seclists.org/fulldisclosure/2019/May/1024. http://seclists.org/fulldisclosure/2019/May/1125. http://seclists.org/fulldisclosure/2019/May/1326. https://github.com/Snorlyd/https-nj.gov---CVE-2018-1404027. https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/