GHSA-9mvj-f7w8-pvh2

Suggest an improvement
Source
https://github.com/advisories/GHSA-9mvj-f7w8-pvh2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-9mvj-f7w8-pvh2/GHSA-9mvj-f7w8-pvh2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9mvj-f7w8-pvh2
Withdrawn
2025-09-11T16:19:47Z
Published
2024-07-11T18:31:14Z
Modified
2025-09-11T16:46:29.082727Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:L/SA:L CVSS Calculator
Summary
Withdrawn Advisory: Bootstrap Cross-Site Scripting (XSS) vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2024-07-11T17:15:17Z",
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-08-01T21:28:38Z"
}
References

Affected packages

npm / bootstrap

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Last affected
3.4.1

RubyGems / bootstrap

Package

Name
bootstrap
Purl
pkg:gem/bootstrap

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Last affected
3.4.1

NuGet / bootstrap

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Last affected
3.4.1

Affected versions

2.*

2.3.1
2.3.2

3.*

3.0.0
3.0.1
3.0.2
3.0.3
3.1.0
3.1.1
3.2.0
3.3.0
3.3.1
3.3.2
3.3.4
3.3.5
3.3.6-jQuery3
3.3.6
3.3.6.1
3.3.7
3.4.0
3.4.1

RubyGems / bootstrap-sass

Package

Name
bootstrap-sass
Purl
pkg:gem/bootstrap-sass

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Last affected
3.4.1

Affected versions

2.*

2.0.0
2.0.1
2.0.2
2.0.3
2.0.3.1
2.0.4.0
2.0.4.1
2.0.4.2
2.1.0.0
2.1.0.1
2.1.1.0
2.2.1.0
2.2.1.1
2.2.2.0
2.3.0.0
2.3.0.1
2.3.1.0
2.3.1.2
2.3.1.3
2.3.2.0
2.3.2.1
2.3.2.2

3.*

3.0.0.0.rc
3.0.0.0.rc2
3.0.0.0
3.0.1.0.rc
3.0.1.0
3.0.2.0
3.0.2.1
3.0.3.0
3.1.0.0
3.1.0.1
3.1.0.2
3.1.1.0
3.1.1.1
3.2.0.4
3.3.0.0
3.3.0.1
3.3.1.0
3.3.2.0
3.3.2.1
3.3.3
3.3.4.1
3.3.5
3.3.5.1
3.3.6
3.3.7
3.4.0
3.4.1

NuGet / bootstrap.sass

Package

Name
bootstrap.sass
View open source insights on deps.dev
Purl
pkg:nuget/bootstrap.sass

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Last affected
3.4.1

Affected versions

3.*

3.4.1

Packagist / twbs/bootstrap

Package

Name
twbs/bootstrap
Purl
pkg:composer/twbs/bootstrap

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Last affected
3.4.1

Affected versions

v2.*

v2.2.2
v2.3.0
v2.3.1
v2.3.2

v3.*

v3.0.0-rc1
v3.0.0-rc.2
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.1.0
v3.1.1
v3.2.0
v3.3.0
v3.3.1
v3.3.2
v3.3.4
v3.3.5
v3.3.6
v3.3.7
v3.4.0
v3.4.1

Maven / org.webjars:bootstrap

Package

Name
org.webjars:bootstrap
View open source insights on deps.dev
Purl
pkg:maven/org.webjars/bootstrap

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Last affected
3.4.1

Affected versions

2.*

2.0.2
2.1.1
2.2.1
2.2.2
2.2.2-1
2.3.0
2.3.1
2.3.1-1
2.3.2

3.*

3.0.0-rc1
3.0.0-rc.2
3.0.0
3.0.1
3.0.2
3.0.3
3.1.0
3.1.1
3.1.1-1
3.1.1-2
3.2.0
3.2.0-1
3.2.0-2
3.3.0
3.3.1
3.3.2
3.3.2-1
3.3.2-2
3.3.4
3.3.5
3.3.6
3.3.7
3.3.7-1
3.4.0
3.4.1

Maven / org.webjars.npm:bootstrap

Package

Name
org.webjars.npm:bootstrap
View open source insights on deps.dev
Purl
pkg:maven/org.webjars.npm/bootstrap

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Last affected
3.4.1

Affected versions

3.*

3.1.1
3.2.0
3.3.0
3.3.1
3.3.2
3.3.4
3.3.5
3.3.6
3.3.7
3.4.0
3.4.1

npm / bootstrap-sass

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Last affected
3.4.3