bootstrap vulnerabilities

The most popular front-end framework for developing responsive, mobile first projects on the web.

Registry
npm
Latest
5.3.8
License
MIT

9 known advisories

The latest version, 5.3.8, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install bootstrap@5.3.8

Security advisories for bootstrap

  • MediumGHSA-q58r-hwc8-rm9j15 May 2025

    Bootstrap Vulnerable to Cross-Site Scripting in its Popover and Tooltip Components

    Affected
    3.4.1
    Fixed in
    No fix released
  • MediumGHSA-vxmc-5x29-h64v11 Jul 2024

    Bootstrap Cross-Site Scripting (XSS) vulnerability for data-* attributes

    Affected
    >=1.4.0 <=3.4.1
    Fixed in
    No fix released
  • MediumGHSA-3wqf-4x89-9g7913 May 2022

    Bootstrap vulnerable to Cross-Site Scripting (XSS)

    Affected
    >=4.0.0 <4.1.2 · >=2.3.0 <3.4.0
    Fixed in
    3.4.0, 4.1.2
  • MediumGHSA-9v3m-8fp8-mj9922 Feb 2019

    Bootstrap Vulnerable to Cross-Site Scripting

    Affected
    >=4.0.0 <4.3.1 · >=3.0.0 <3.4.1
    Fixed in
    3.4.1, 4.3.1
  • MediumGHSA-ph58-4vrj-w6hr17 Jan 2019

    bootstrap Cross-site Scripting vulnerability

    Affected
    <3.4.0
    Fixed in
    3.4.0
  • MediumGHSA-3mgp-fx93-9xv517 Jan 2019

    XSS vulnerability that affects bootstrap

    Affected
    <3.4.0
    Fixed in
    3.4.0
  • MediumGHSA-4p24-vmcr-4gqj17 Jan 2019

    Bootstrap Cross-site Scripting vulnerability

    Affected
    >=2.0.4 <3.4.0 · >=4.0.0-beta <4.0.0-beta.2
    Fixed in
    3.4.0, 4.0.0-beta.2
  • MediumGHSA-7mvr-5x2g-wfc813 Sept 2018

    Bootstrap Cross-site Scripting vulnerability

    Affected
    >=4.0.0 <4.1.2 · >=2.3.0 <3.4.0
    Fixed in
    3.4.0, 4.1.2
  • MediumGHSA-pj7m-g53m-763813 Sept 2018

    Bootstrap Cross-site Scripting vulnerability

    Affected
    >=4.0.0 <4.1.2
    Fixed in
    4.1.2

Which of your client projects still run an old bootstrap?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.