Is yiisoft/yii2-gii 2.1 vulnerable?
Composer · 5 releases from 2.1.0 to 2.1.4 · latest yiisoft/yii2-gii is 2.2.7 · checked 18 Nov 2026
Yes: 2 known advisories
Yes. yiisoft/yii2-gii 2.1.4, the last 2.1 release, is affected by 2 known security advisories (1 high, 1 medium), including CVE-2020-36655, CVE-2022-34297. At least one has no fixed release yet.
Is your project on an affected yiisoft/yii2-gii?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting yiisoft/yii2-gii 2.1.4
Command injection in yiisoft/yii2-gii
- Affected
- <2.2.2
- Fixed in
- 2.2.2
Yii2 Gii Cross-site Scripting vulnerability
- Affected
- <=2.2.4
- Fixed in
- No fix released
Every yiisoft/yii2-gii 2.1.x release
Affected: 2.1.0 to 2.1.4. Latest yiisoft/yii2-gii: 2.2.7.
| Version | Known advisories |
|---|---|
| yiisoft/yii2-gii 2.1.4 | CVE-2020-36655, CVE-2022-34297 |
| yiisoft/yii2-gii 2.1.3 | CVE-2020-36655, CVE-2022-34297 |
| yiisoft/yii2-gii 2.1.2 | CVE-2020-36655, CVE-2022-34297 |
| yiisoft/yii2-gii 2.1.1 | CVE-2020-36655, CVE-2022-34297 |
| yiisoft/yii2-gii 2.1.0 | CVE-2020-36655, CVE-2022-34297 |
Which of your client projects are still on yiisoft/yii2-gii 2.1?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact yiisoft/yii2-gii version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other yiisoft/yii2-gii versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Composer registry. Refreshed daily.