CVE-2024-6484: Withdrawn Advisory Cross-Site Scripting Vulnerability
MODERATECVE-2024-6484 is a MODERATE (CVSS 6.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Withdrawn Advisory libraries in the npm ecosystem. The issue involves bootstrap cross-site scripting (xss) vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2024-6484 at a Glance
Security Impact
CVSS: 6.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L).
How to Fix CVE-2024-6484
To remediate this vulnerability, upgrade all affected Withdrawn Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install bootstrap@Latest secure release
Upgrade bootstrap to Latest secure release
Upgrade bootstrap to Latest secure release
Upgrade bootstrap-sass to Latest secure release
Upgrade bootstrap.sass to Latest secure release
Upgrade twbs/bootstrap to Latest secure release
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>bootstrap</artifactId>
<version>Latest secure release</version>
</dependency>
npm install bootstrap-sass@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls bootstrap
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-6484, inspect your project dependencies using npm:
npm ls bootstrap
Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls bootstrap command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Withdrawn Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-6484 Affected Withdrawn Advisory Versions
9 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
bootstrap
|
npm |
≥ 2.0.0
≤ 3.4.1
|
|
|
bootstrap
|
RubyGems |
≥ 2.0.0
≤ 3.4.1
|
|
|
bootstrap
|
NuGet |
≥ 2.0.0
≤ 3.4.1
|
|
|
bootstrap-sass
|
RubyGems |
≥ 2.0.0
≤ 3.4.1
|
|
|
bootstrap.sass
|
NuGet |
≥ 2.0.0
≤ 3.4.1
|
|
|
twbs/bootstrap
|
Packagist |
≥ 2.0.0
≤ 3.4.1
|
|
|
org.webjars:bootstrap
|
Maven |
≥ 2.0.0
≤ 3.4.1
|
|
|
org.webjars.npm:bootstrap
|
Maven |
≥ 2.0.0
≤ 3.4.1
|
|
|
bootstrap-sass
|
npm |
≥ 2.0.0
≤ 3.4.3
|
|
References
Frequently Asked Questions
What is CVE-2024-6484?
Which Withdrawn Advisory versions are affected?
What version fixes CVE-2024-6484?
Is bootstrap affected?
Is bootstrap-sass affected?
What is the CVSS score of CVE-2024-6484?
What CWE is associated with CVE-2024-6484?
How can I check npm dependencies for CVE-2024-6484?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9mvj-f7w8-pvh2",
"modified" : "2025-09-11T16:19:47Z",
"published" : "2024-07-11T18:31:14Z",
"withdrawn" : "2025-09-11T16:19:47Z",
"aliases" : [ "CVE-2024-6484" ],
"summary" : "Withdrawn Advisory: Bootstrap Cross-Site Scripting (XSS) vulnerability",
"details" : "## Withdrawn Advisory\nThis advisory has been withdrawn because it was determined to not be a vulnerability in Bootstrap. From the CVE:\n\n> 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.\n\n## Original Description\nA 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "bootstrap"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"last_affected" : "3.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "bootstrap"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"last_affected" : "3.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "bootstrap"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"last_affected" : "3.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "bootstrap-sass"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"last_affected" : "3.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "bootstrap.sass"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"last_affected" : "3.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "twbs/bootstrap"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"last_affected" : "3.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.webjars:bootstrap"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"last_affected" : "3.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.webjars.npm:bootstrap"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"last_affected" : "3.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "bootstrap-sass"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"last_affected" : "3.4.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-6484"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2024-6484.yml"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2024-6484.yml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/twbs/bootstrap"
}, {
"type" : "WEB",
"url" : "https://www.herodevs.com/vulnerability-directory/cve-2024-6484"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-01T21:28:38Z",
"nvd_published_at" : "2024-07-11T17:15:17Z"
}
}