{ "schema_version": "1.4.0", "id": "GHSA-3mpg-q26j-83j5", "modified": "2025-04-02T22:31:52Z", "published": "2023-01-21T03:30:28Z", "aliases": [ "CVE-2020-36655" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "Packagist", "name": "yiisoft/yii2-gii" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "2.2.2" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-94" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2023-01-23T20:42:57Z", "nvd_published_at": "2023-01-21T01:15:00Z" } }