CVE-2020-36655
HIGH 8.8CVSS 3.1Command injection in yiisoft/yii2-gii
Yii Yii2 Gii before 2.2.2 allows remote attackers to execute arbitrary code via the Generator.php messageCategory field. The attacker can embed arbitrary PHP code into the model file.
- Published
- 21 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-3mpg-q26j-83j5
- Sources
- NVDJSONOSV GHSA-3mpg-q26j-83j5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yiiframework | giicpe:2.3:a:yiiframework:gii:*:*:*:*:*:yii2:*:* |
< 2.2.2 | 2.2.2 |
| OSV | Packagist | yiisoft/yii2-gii | < 2.2.2 | 2.2.2 |
References
- https://github.com/yiisoft/yii2-gii/issues/433 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://lab.wallarm.com/yii2-gii-remote-code-execution/ · Exploit, Mitigation, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-36655 · ADVISORY
- https://github.com/yiisoft/yii2-gii/commit/ed61e0d85f43e23f79d7c9d1b4e5e5c09a32ce4b · WEB
- https://github.com/yiisoft/yii2-gii · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 21 Jan 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Jan 2023)