MEDIUM 6.4 npm

Bootstrap Cross-Site Scripting (XSS) vulnerability for data-* attributes

GHSA-vxmc-5x29-h64v · CVE-2024-6485

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes