For your digest
bootstrap, bootstrap-sass: XSS vulnerability that affects bootstrap
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- bootstrap (npm): every version, before 3.4.0
- bootstrap-sass (npm): every version, before 3.4.0
- twbs/bootstrap (Packagist): every version, before 3.4.0
- org.webjars:bootstrap (Maven): every version, before 3.4.0
- bootstrap (RubyGems): every version, before 3.4.0
- bootstrap-sass (RubyGems): every version, before 3.4.0
- bootstrap (NuGet): every version, before 3.4.0
The fix
bootstrap (npm) fixed in 3.4.0
npmnpm install bootstrap@3.4.0pnpmpnpm add bootstrap@3.4.0yarnyarn add bootstrap@3.4.0bunbun add bootstrap@3.4.0Check what is installednpm ls bootstrapPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency bootstrap to 3.4.0 or the nearest later release, to fix CVE-2018-20676. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.bootstrap-sass (npm) fixed in 3.4.0
npmnpm install bootstrap-sass@3.4.0pnpmpnpm add bootstrap-sass@3.4.0yarnyarn add bootstrap-sass@3.4.0bunbun add bootstrap-sass@3.4.0Check what is installednpm ls bootstrap-sassPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency bootstrap-sass to 3.4.0 or the nearest later release, to fix CVE-2018-20676. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.twbs/bootstrap (Packagist) fixed in 3.4.0
composercomposer require "twbs/bootstrap:^3.4.0" --update-with-all-dependenciesCheck what is installedcomposer show twbs/bootstrapPaste into Cursor, Lovable or Claude CodeUpgrade the Packagist dependency twbs/bootstrap to 3.4.0 or the nearest later release, to fix CVE-2018-20676. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.org.webjars:bootstrap (Maven) fixed in 3.4.0
mavenmvn versions:use-dep-version -Dincludes=org.webjars:bootstrap -DdepVersion=3.4.0 -DforceVersion=trueCheck what is installedmvn dependency:tree -Dincludes=org.webjars:bootstrapPaste into Cursor, Lovable or Claude CodeUpgrade the Maven dependency org.webjars:bootstrap to 3.4.0 or the nearest later release, to fix CVE-2018-20676. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.bootstrap (RubyGems) fixed in 3.4.0
bundlerbundle update --conservative bootstrapCheck what is installedbundle info bootstrapPaste into Cursor, Lovable or Claude CodeUpgrade the RubyGems dependency bootstrap to 3.4.0 or the nearest later release, to fix CVE-2018-20676. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.bootstrap-sass (RubyGems) fixed in 3.4.0
bundlerbundle update --conservative bootstrap-sassCheck what is installedbundle info bootstrap-sassPaste into Cursor, Lovable or Claude CodeUpgrade the RubyGems dependency bootstrap-sass to 3.4.0 or the nearest later release, to fix CVE-2018-20676. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.bootstrap (NuGet) fixed in 3.4.0
dotnetdotnet add package bootstrap --version 3.4.0Check what is installeddotnet list packagePaste into Cursor, Lovable or Claude CodeUpgrade the NuGet dependency bootstrap to 3.4.0 or the nearest later release, to fix CVE-2018-20676. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "For your digest".