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

CVE-2024-6531: Withdrawn Advisory: Bootstrap Cross-Site Scripting (XSS) vulnerability

mediumCVSS 4.0 5.3 · 3.1 6.4GHSA-vc8w-jr9v-vj7f

This advisory was withdrawn on Oct 9, 2025. The publisher no longer considers it a valid vulnerability.

Withdrawn Advisory This advisory is withdrawn because it was not a security issue in Bootstrap. Bootstrap’s JavaScript is not intended to sanitize unsafe or intentionally dangerous HTML. As such, the reported behavior fell outside the scope of Bootstrap’s security model, and the associated CVE has been rescinded.

Published Jul 11, 2024 · Updated Oct 9, 2025

Affected packages

bootstrap

Ecosystem
npm
Affected
>= 4.0.0, <= 4.6.2
Fixed in
5.0.0
Check
npm ls bootstrap

bootstrap

Ecosystem
RubyGems
Affected
>= 4.0.0, <= 4.6.2
Fixed in
5.0.0
Check
bundle info bootstrap

bootstrap

Ecosystem
NuGet
Affected
>= 4.0.0, <= 4.6.2
Fixed in
5.0.0
Check
dotnet list package --include-transitive

bootstrap.sass

Ecosystem
NuGet
Affected
>= 4.0.0, <= 4.6.2
Fixed in
5.0.0
Check
dotnet list package --include-transitive

twbs/bootstrap

Ecosystem
Composer (PHP)
Affected
>= 4.0.0, <= 4.6.2
Fixed in
5.0.0
Check
composer show twbs/bootstrap

org.webjars:bootstrap

Ecosystem
Maven
Affected
>= 4.0.0, <= 4.6.2
Fixed in
5.0.0
Check
mvn dependency:tree -Dincludes=org.webjars:bootstrap

org.webjars.npm:bootstrap

Ecosystem
Maven
Affected
>= 4.0.0, <= 4.6.2
Fixed in
5.0.0
Check
mvn dependency:tree -Dincludes=org.webjars.npm:bootstrap

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Withdrawn Advisory

This advisory is withdrawn because it was not a security issue in Bootstrap. Bootstrap’s JavaScript is not intended to sanitize unsafe or intentionally dangerous HTML. As such, the reported behavior fell outside the scope of Bootstrap’s security model, and the associated CVE has been rescinded.

Original Descripton

A vulnerability has been identified in Bootstrap that exposes users to Cross-Site Scripting (XSS) attacks. The issue is present in the carousel component, where the data-slide and data-slide-to attributes can be exploited through the href attribute of an tag due to inadequate sanitization. This vulnerability could potentially enable attackers to execute arbitrary JavaScript within the victim's browser.

Credited to alexeyNeklesa-idt, metametadata, eoftedal.

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