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?

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

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

  • HighCVE-2020-36655GHSA-3mpg-q26j-83j521 Jan 2023

    Command injection in yiisoft/yii2-gii

    Affected
    <2.2.2
    Fixed in
    2.2.2
  • MediumCVE-2022-34297GHSA-x87m-36g7-6mpw10 Dec 2022

    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.

VersionKnown advisories
yiisoft/yii2-gii 2.1.4CVE-2020-36655, CVE-2022-34297
yiisoft/yii2-gii 2.1.3CVE-2020-36655, CVE-2022-34297
yiisoft/yii2-gii 2.1.2CVE-2020-36655, CVE-2022-34297
yiisoft/yii2-gii 2.1.1CVE-2020-36655, CVE-2022-34297
yiisoft/yii2-gii 2.1.0CVE-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.