Skip to main content
VulnerabilityPublished Updated

CVE-2024-6485: Bootstrap Cross-Site Scripting (XSS) vulnerability for data-* attributes

Affects bootstrapSource GCVE Database

0
Compare
Authoritative record:CVE-2024-6485· Medium 6.4

Not known to be exploited · CVSS 6.4 Medium.

Data as of 30 Oct 2026, 00:36 UTC

CVSS 3.1 base score
6.4Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (HeroDevs)CVSS 3.16.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
npmbootstrapAffected
  • >=1.4.0 <=3.4.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should monitor the vendor's advisory for updates. Until a fix is released, avoid using the data-loading-text attribute or sanitize its content to prevent injection of malicious code. Implementing strict input validation and content security policies may reduce risk.

Description

A Cross-Site Scripting (XSS) vulnerability exists in Bootstrap's button plugin related to the data-loading-text attribute. This flaw allows an attacker to inject malicious JavaScript code into the attribute, which executes when the button enters its loading state. The vulnerability affects Bootstrap versions from 1.4.0 through 3.4.1.

References

Community reviews

Loading reviews…