CriticalGHSA-vqqv-v9m2-48p2CVE-2019-10842

Bootstrap-sass contains code execution backdoor

Published 4 Apr 2019 · Updated 13 Mar 2026

Is your project on an affected bootstrap-sass?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=3.2.0.3 <3.2.0.4
Fixed in
3.2.0.4
Update to the fixed version for your release line, for example:bundle update --conservative bootstrap-sass # Gemfile: '>= 3.2.0.4'

Details

Arbitrary code execution (via backdoor code) was discovered in bootstrap-sass 3.2.0.3, when downloaded from rubygems.org. An unauthenticated attacker can craft the ___cfduid cookie value with base64 arbitrary code to be executed via eval(), which can be leveraged to execute arbitrary code on the target system. Note that there are three underscore characters in the cookie name. This is unrelated to the __cfduid cookie that is legitimately used by Cloudflare.

Is GHSA-vqqv-v9m2-48p2 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected bootstrap-sass, and gives you the command that fixes it.

More advisories for bootstrap-sass

  • MediumCVE-2018-14040Bootstrap vulnerable to Cross-Site Scripting (XSS) · 13 May 2022
  • MediumCVE-2019-8331Bootstrap Vulnerable to Cross-Site Scripting · 22 Feb 2019
  • MediumCVE-2018-20677bootstrap Cross-site Scripting vulnerability · 17 Jan 2019
  • MediumCVE-2018-20676XSS vulnerability that affects bootstrap · 17 Jan 2019
  • MediumCVE-2016-10735Bootstrap Cross-site Scripting vulnerability · 17 Jan 2019
  • MediumCVE-2018-14042Bootstrap Cross-site Scripting vulnerability · 13 Sept 2018
bootstrap-sass security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.