{"id":"GHSA-3mpg-q26j-83j5","summary":"Command injection in yiisoft/yii2-gii","details":"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.","aliases":["CVE-2020-36655"],"modified":"2025-04-02T22:49:48.996342Z","published":"2023-01-21T03:30:28Z","database_specific":{"nvd_published_at":"2023-01-21T01:15:00Z","cwe_ids":["CWE-94"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-01-23T20:42:57Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36655"},{"type":"WEB","url":"https://github.com/yiisoft/yii2-gii/issues/433"},{"type":"WEB","url":"https://github.com/yiisoft/yii2-gii/commit/ed61e0d85f43e23f79d7c9d1b4e5e5c09a32ce4b"},{"type":"PACKAGE","url":"https://github.com/yiisoft/yii2-gii"},{"type":"WEB","url":"https://lab.wallarm.com/yii2-gii-remote-code-execution"}],"affected":[{"package":{"name":"yiisoft/yii2-gii","ecosystem":"Packagist","purl":"pkg:composer/yiisoft/yii2-gii"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.2"}]}],"versions":["2.0.0","2.0.0-alpha","2.0.0-beta","2.0.0-rc","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.2.0","2.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-3mpg-q26j-83j5/GHSA-3mpg-q26j-83j5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}