Advisories / composer / twbs/bootstrap / CVE-2018-20677
bootstrap Cross-site Scripting vulnerability (CVE-2018-20677)
CVE-2018-20677 GHSA-ph58-4vrj-w6hr Published 17 Jan 2019
Affects 3 packages. Each has a fixed release.
$ composer require twbs/bootstrap:^3.4.0 $ npm install bootstrap@^3.4.0 $ npm install bootstrap-sass@^3.4.0
Which versions are affected
| Package | Affected | Fixed in |
|---|---|---|
| twbs/bootstrap | < 3.4.0 | 3.4.0 |
| bootstrap | < 3.4.0 | 3.4.0 |
| bootstrap-sass | < 3.4.0 | 3.4.0 |
Check a site from its project folder:
composer show twbs/bootstrap
shows the installed version. Or paste the lock file into the lock file checker to check every package at once.
Timeline
- Advisory published, with a fix
Questions
Which version of twbs/bootstrap is safe from CVE-2018-20677?
3.4.0 and later. Versions affected: < 3.4.0.
Which version of bootstrap is safe from CVE-2018-20677?
3.4.0 and later. Versions affected: < 3.4.0.
Which version of bootstrap-sass is safe from CVE-2018-20677?
3.4.0 and later. Versions affected: < 3.4.0.