CVE-2024-6484: Withdrawn Advisory Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-9mvj-f7w8-pvh2
CVSS 6.4
CWE-79
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2024-6484
GHSA Identifier GHSA-9mvj-f7w8-pvh2
Severity MODERATE
CVSS v3.1 Base Score 6.4
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Withdrawn Advisory
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability Low (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.

bootstrap fixed: Latest secure release
npm install bootstrap@Latest secure release
bootstrap fixed: Latest secure release
Upgrade bootstrap to Latest secure release
bootstrap fixed: Latest secure release
Upgrade bootstrap to Latest secure release
bootstrap-sass fixed: Latest secure release
Upgrade bootstrap-sass to Latest secure release
bootstrap.sass fixed: Latest secure release
Upgrade bootstrap.sass to Latest secure release
twbs/bootstrap fixed: Latest secure release
Upgrade twbs/bootstrap to Latest secure release
org.webjars:bootstrap fixed: Latest secure release
<dependency>
    <groupId>org.webjars</groupId>
    <artifactId>bootstrap</artifactId>
    <version>Latest secure release</version>
</dependency>
org.webjars.npm:bootstrap fixed: Latest secure release
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>bootstrap</artifactId>
    <version>Latest secure release</version>
</dependency>
bootstrap-sass fixed: Latest secure release
npm install bootstrap-sass@Latest secure release
Verify Direct and Transitive Dependencies

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

## 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.

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?
CVE-2024-6484 is a security vulnerability in Withdrawn Advisory involving Bootstrap Cross-Site Scripting (XSS) vulnerability under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Withdrawn Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: bootstrap, bootstrap-sass, bootstrap.sass, twbs/bootstrap, org.webjars:bootstrap, org.webjars.npm:bootstrap.
What version fixes CVE-2024-6484?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is bootstrap affected?
Yes, bootstrap is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
Is bootstrap-sass affected?
Yes, bootstrap-sass is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-6484?
CVE-2024-6484 has a CVSS v3.1 base score of 6.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L.
What CWE is associated with CVE-2024-6484?
CVE-2024-6484 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check npm dependencies for CVE-2024-6484?
Run the dependency tree command: 'npm ls bootstrap'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}