{"id":"GHSA-3mpg-q26j-83j5","aliases":["CVE-2020-36655"],"title":"Command injection in yiisoft/yii2-gii","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"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.","severity":"high","score":8.8,"published":"2023-01-21T03:30:28.000Z","modified":"2025-04-02T22:49:48.996Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"yiisoft/yii2-gii","sources":[{"name":"OSV · GHSA-3mpg-q26j-83j5","url":"https://osv.dev/vulnerability/GHSA-3mpg-q26j-83j5"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.2.2"}],"type":"ECOSYSTEM"}],"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"],"fixed":["2.2.2"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2020-36655","https://github.com/yiisoft/yii2-gii/issues/433","https://github.com/yiisoft/yii2-gii/commit/ed61e0d85f43e23f79d7c9d1b4e5e5c09a32ce4b","https://github.com/yiisoft/yii2-gii","https://lab.wallarm.com/yii2-gii-remote-code-execution"],"sources":[{"name":"OSV","id":"GHSA-3mpg-q26j-83j5","modified":"2025-04-02T22:49:48.996342Z","url":"https://osv.dev/vulnerability/GHSA-3mpg-q26j-83j5"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T10:55:32.941Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}