Skip to content

CVE-2024-6485 XSS in Bootstrap button component

MediumCVSS 6.4 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 9 fixed.

PackageAffectedFixed inStatus
Bootstrap >= 1.4.0, <= 3.4.1 after 3.4.1 Fixed
bootstrap-sass >= 2.3.2, <= 3.4.3 after 3.4.3 Fixed
debian/twitter-bootstrap3(Debian 12) < 3.4.1+dfsg-3+deb12u1; = 3.4.1+dfsg-3 3.4.1+dfsg-3+deb12u1 Fixed
debian/twitter-bootstrap3(Debian 13) < 3.4.1+dfsg-4 3.4.1+dfsg-4 Fixed
debian/twitter-bootstrap3(Debian 14) < 3.4.1+dfsg-4 3.4.1+dfsg-4 Fixed
getbootstrap bootstrap >= 2.0.0, <= 3.4.1 after 3.4.1 Fixed
npm bootstrap(npm) >= 1.4.0, <= 3.4.1 after 3.4.1 Fixed
ubuntu/twitter-bootstrap3(Ubuntu 22.04) < 3.4.1+dfsg-2+deb11u2build0.22.04.1 3.4.1+dfsg-2+deb11u2build0.22.04.1 Fixed
ubuntu/twitter-bootstrap3(Ubuntu 24.04) < 3.4.1+dfsg-3+deb12u1build0.24.04.1 3.4.1+dfsg-3+deb12u1build0.24.04.1 Fixed

Affected products

ProductAffected versionsFixed in
debian/twitter-bootstrap3(Debian:12) < 3.4.1+dfsg-3+deb12u1 3.4.1+dfsg-3+deb12u1
debian/twitter-bootstrap3(Debian:12) = 3.4.1+dfsg-3 No fix listed
debian/twitter-bootstrap3(Debian:13) < 3.4.1+dfsg-4 3.4.1+dfsg-4
debian/twitter-bootstrap3(Debian:14) < 3.4.1+dfsg-4 3.4.1+dfsg-4
npm bootstrap(npm) >= 1.4.0, <= 3.4.1 No fix listed
ubuntu/twitter-bootstrap3(Ubuntu:22.04) < 3.4.1+dfsg-2+deb11u2build0.22.04.1 3.4.1+dfsg-2+deb11u2build0.22.04.1
Bootstrap >= 1.4.0, <= 3.4.1 No fix listed
bootstrap-sass >= 2.3.2, <= 3.4.3 No fix listed
getbootstrap bootstrap >= 2.0.0, <= 3.4.1 No fix listed
ubuntu/twitter-bootstrap3(Ubuntu:24.04) < 3.4.1+dfsg-3+deb12u1build0.24.04.1 3.4.1+dfsg-3+deb12u1build0.24.04.1

References