Is bootstrap 3.1 vulnerable?
npm · 1 release from 3.1.1 to 3.1.1 · latest bootstrap is 5.3.8 · checked 1 Nov 2026
Yes: 7 known advisories
Yes. bootstrap 3.1.1, the last 3.1 release, is affected by 7 known security advisories (7 medium), including CVE-2024-6485, CVE-2018-14040, CVE-2019-8331. At least one has no fixed release yet.
Advisories affecting bootstrap 3.1.1
Bootstrap Cross-Site Scripting (XSS) vulnerability for data-* attributes
- Affected
- >=1.4.0 <=3.4.1
- Fixed in
- No fix released
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
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
bootstrap Cross-site Scripting vulnerability
- Affected
- <3.4.0
- Fixed in
- 3.4.0
XSS vulnerability that affects bootstrap
- Affected
- <3.4.0
- Fixed in
- 3.4.0
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
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
Which of your client projects are still on bootstrap 3.1?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact bootstrap version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other bootstrap versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.