NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-6485: Bootstrap Cross-Site Scripting (XSS) vulnerability for data-* attributes

mediumCVSS 3.1 6.4GHSA-vxmc-5x29-h64v

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.

Published Jul 11, 2024 · Updated Nov 3, 2025

Affected packages

bootstrap

Ecosystem
npm
Affected
>= 1.4.0, <= 3.4.1
Fixed in
No patched version yet
Check
npm ls bootstrap

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to hdtmccallie.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries