
A poc for Bootstrap XSS(CVE-2024-6485、CVE-2016-10735、CVE-2019-8331、CVE-2018-14040)
This is a static HTML page for learning and research, which integrates multiple Proof of Concept (PoC) exploits for Cross-Site Scripting (XSS) vulnerabilities in the historical versions of the Bootstrap framework.
This project aims to provide security researchers, developers, and students with a safe, controlled environment to understand and verify these specific security vulnerabilities without the need to set up a complex server environment.
test.html file.test.html with any text editor (e.g., VS Code, Sublime Text, Notepad, etc.).<head> section of the file, paste the URL of the corresponding version based on the PoC you want to test (refer to the table above).test.html file.This project is licensed under the MIT License.
| PoC # | Vulnerability ID (CVE ID) | Vulnerability Description | Affected Library Versions (Range) |
|---|
| 1 | CVE-2019-8331 | Unsanitized data-template attribute in Tooltip component leading to XSS | v4.x < v4.3.1 and v3.x < v3.4.1 |
| 2 | CVE-2018-14040 | Unsanitized data-parent attribute in Collapse component leading to XSS | v4.x < v4.1.2 |
| 3 | CVE-2016-10735 | Unsanitized data-target attribute in Modal component leading to XSS | v3.x < v3.4.0 |
| 4 | CVE-2024-6485 | Unsanitized data-loading-text attribute in Button plugin leading to XSS | v3.x < v3.4.1 |