CVE-2024-6484
Withdrawn Advisory: Bootstrap Cross-Site Scripting (XSS) vulnerability
Impact
## Withdrawn Advisory This advisory has been withdrawn because it was determined to not be a vulnerability in Bootstrap. From the CVE: > This 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 Description 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 `<a>` tag due to inadequate sanitization. This vulnerability could potentially enable attackers to execute arbitrary JavaScript within the victim's browser.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | bootstrap | >= 2.0.0, <= 3.4.1 | none recorded |
| rubygems | bootstrap | >= 2.0.0, <= 3.4.1 | none recorded |
| nuget | bootstrap | >= 2.0.0, <= 3.4.1 | none recorded |
| rubygems | bootstrap-sass | >= 2.0.0, <= 3.4.1 | none recorded |
| nuget | bootstrap.sass | >= 2.0.0, <= 3.4.1 | none recorded |
| composer | twbs/bootstrap | >= 2.0.0, <= 3.4.1 | none recorded |
| maven | org.webjars:bootstrap | >= 2.0.0, <= 3.4.1 | none recorded |
| maven | org.webjars.npm:bootstrap | >= 2.0.0, <= 3.4.1 | none recorded |
| npm | bootstrap-sass | >= 2.0.0, <= 3.4.3 | none recorded |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-9mvj-f7w8-pvh2
- https://nvd.nist.gov/vuln/detail/CVE-2024-6484
- https://www.herodevs.com/vulnerability-directory/cve-2024-6484
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2024-6484.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2024-6484.yml