Vulnerability · Published Jul 11, 2024 · Assigned by HeroDevs

CVE-2024-6485XSS in Bootstrap button component

Medium 6.4

In plain English

A medium-severity cross-site scripting in Bootstrap from Bootstrap. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.4Medium
Exploit odds (30 days)0.5%top 57.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12twitter-bootstrap33.4.1+dfsg-3+deb12u1DEBIAN-CVE-2024-6485
Debian:13twitter-bootstrap33.4.1+dfsg-4DEBIAN-CVE-2024-6485
Debian:14twitter-bootstrap33.4.1+dfsg-4DEBIAN-CVE-2024-6485
Ubuntu:22.04:LTStwitter-bootstrap33.4.1+dfsg-2+deb11u2build0.22.04.1USN-7556-1
Ubuntu:22.04:LTStwitter-bootstrap33.4.1+dfsg-2+deb11u2build0.22.04.1UBUNTU-CVE-2024-6485
Ubuntu:24.04:LTStwitter-bootstrap33.4.1+dfsg-3+deb12u1build0.24.04.1USN-7556-1
Ubuntu:24.04:LTStwitter-bootstrap33.4.1+dfsg-3+deb12u1build0.24.04.1UBUNTU-CVE-2024-6485
Ubuntu:24.04:LTStwitter-bootstrap44.6.1+dfsg1-4+deb12u1build0.24.04.1USN-7556-1
npmbootstrapno fix listedGHSA-vxmc-5x29-h64v

Affected products (as reported)

VendorProductVersions
Bootstrap Bootstrap 1.4.0 – through 3.4.1
Bootstrap-sass bootstrap-sass 2.3.2 – through 3.4.3

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L

References