Is bootstrap 4.1 vulnerable?
RubyGems · 4 releases from 4.1.0 to 4.1.3 · latest bootstrap is 5.3.8 · checked 18 Nov 2026
Yes: 1 known advisory
Yes. bootstrap 4.1.3, the last 4.1 release, is affected by 1 known security advisory (1 medium), including CVE-2019-8331. 3 more affect earlier 4.1.x releases. Upgrade to 4.3.1 or later to fix all of them.
bundle update --conservative bootstrap # Gemfile: '>= 4.3.1'Is your project on an affected bootstrap?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting bootstrap 4.1.3
Bootstrap Vulnerable to Cross-Site Scripting
- Affected
- <4.3.1
- Fixed in
- 4.3.1
Fixed within 4.1.x, affecting earlier releases
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 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
Bootstrap Cross-site Scripting vulnerability
- Affected
- >=4.0.0 <4.1.2
- Fixed in
- 4.1.2
Every bootstrap 4.1.x release
Affected: 4.1.0 to 4.1.3. Latest bootstrap: 5.3.8.
| Version | Known advisories |
|---|---|
| bootstrap 4.1.3 | CVE-2019-8331 |
| bootstrap 4.1.2 | CVE-2019-8331 |
| bootstrap 4.1.1 | CVE-2018-14040, CVE-2019-8331, CVE-2018-14042, CVE-2018-14041 |
| bootstrap 4.1.0 | CVE-2018-14040, CVE-2019-8331, CVE-2018-14042, CVE-2018-14041 |
Which of your client projects are still on bootstrap 4.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 RubyGems registry. Refreshed daily.