Description
A security vulnerability has been discovered in bootstrap that could enable Cross-Site Scripting (XSS) attacks. The vulnerability is associated with the data-loading-text attribute within the button plugin. This vulnerability can be exploited by injecting malicious JavaScript code into the attribute, which would then be executed when the button's loading state is triggered.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Bootstrap | Bootstrap | 1.4.0 – ≤ 3.4.1 | — |
| Bootstrap-sass | bootstrap-sass | 2.3.2 – ≤ 3.4.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | twitter-bootstrap3 | 3.4.1+dfsg-4 | — |
| Debian 13 | twitter-bootstrap3 | 3.4.1+dfsg-4 | — |
| Debian 12 | twitter-bootstrap3 | 3.4.1+dfsg-3+deb12u1 | — |
| Debian 11 | twitter-bootstrap3 | 3.4.1+dfsg-2+deb11u1 | DLA-4124-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | twitter-bootstrap3 | 3.4.1+dfsg-3+deb12u1build0.24.04.1 | USN-7556-1 |
| Ubuntu 24.04 LTS | twitter-bootstrap4 | 4.6.1+dfsg1-4+deb12u1build0.24.04.1 | USN-7556-1 |
| Ubuntu 22.04 LTS | twitter-bootstrap3 | 3.4.1+dfsg-2+deb11u2build0.22.04.1 | USN-7556-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | twitter-bootstrap4 | 4.6.0+dfsg1-4ubuntu0.1~esm1 | USN-7556-1 |
| Ubuntu Pro 20.04 LTS | twitter-bootstrap3 | 3.4.1+dfsg-1ubuntu0.1~esm1 | USN-7556-1 |
| Ubuntu Pro 20.04 LTS | twitter-bootstrap4 | 4.4.1+dfsg1-2ubuntu0.1~esm1 | USN-7556-1 |
| Ubuntu Pro 18.04 LTS | twitter-bootstrap3 | 3.3.7+dfsg-2ubuntu0.1~esm1 | USN-7556-1 |
| Ubuntu Pro 16.04 LTS | twitter-bootstrap3 | 3.3.6+dfsg-1ubuntu0.1~esm1 | USN-7556-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | ceph +4 | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | reaper | 3.1.1-22 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | keycloak-26.5 +4 | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
Yumeae/Bootstrap-with-XSS ★ 4 · Jul 21, 2025
A poc for Bootstrap XSS(CVE-2024-6485、CVE-2016-10735、CVE-2019-8331、CVE-2018-14040)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | bootstrap | >= 1.4.0, <= 3.4.1 | — | GHSA-vxmc-5x29-h64v |
Advisories 3
- WID-SEC-2024-1606 Bootstrap: Mehrere Schwachstellen ermöglichen Cross-Site Scripting BSI CERT-Bund (WID) · Oct 8, 2026
- USN-7556-1 twitter-bootstrap3, twitter-bootstrap4 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-4124-1 twitter-bootstrap3 - security update Debian Security (DSA / DLA) · Mar 9, 2026