MediumGHSA-ph58-4vrj-w6hrCVE-2018-20677

bootstrap Cross-site Scripting vulnerability

Published 17 Jan 2019 · Updated 10 Sept 2026

Affected packages

Affected
<3.4.0
Fixed in
3.4.0
Update to the fixed version for your release line, for example:npm install bootstrap@3.4.0
Affected
<3.4.0
Fixed in
3.4.0
Update to the fixed version for your release line, for example:npm install bootstrap-sass@3.4.0
Affected
<3.4.0
Fixed in
3.4.0
Update to the fixed version for your release line, for example:composer require twbs/bootstrap:^3.4.0

Details

In Bootstrap before 3.4.0, XSS is possible in the affix configuration target property.

Is GHSA-ph58-4vrj-w6hr 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, and gives you the command that fixes it.

References

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