VDB
Sign up
MEDIUM6.4

GHSA-vxmc-5x29-h64v

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

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/bootstrap
Introduced in: 1.4.0

No fixed version published yet for bootstrap (npm). Pin to a known-safe version or switch to an alternative.

References