XSS in Bootstrap

CVE-2024-6485

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L.

EPSS exploit prediction

EPSS 0.005, 43.0th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • Yumeae/Bootstrap-with-XSS (4 stars, last pushed 2025-08-21): A poc for Bootstrap XSS(CVE-2024-6485、CVE-2016-10735、CVE-2019-8331、CVE-2018-14040)

Also mentioned in 5 other repositories (fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub, w4zu/Debian_security, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References