{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-36655","id":"CVE-2020-36655","title":"Command injection in yiisoft/yii2-gii","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.","descriptionLong":"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":"2023-01-21T00:00:00.000Z","updated":"2026-10-20T10:54:22.226809353Z","reserved":"2023-01-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"yiisoft/yii2-gii","purl":"pkg:composer/yiisoft/yii2-gii","ranges":["<2.2.2"],"fixed":["2.2.2"],"advisory":"GHSA-3mpg-q26j-83j5"}],"cwes":["CWE-94"],"aliases":["GHSA-3mpg-q26j-83j5"],"references":[{"url":"https://lab.wallarm.com/yii2-gii-remote-code-execution/","tags":["x_transferred","Exploit","Mitigation","Third Party Advisory","evidence"]},{"url":"https://github.com/yiisoft/yii2-gii/issues/433","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36655","tags":["advisory"]},{"url":"https://github.com/yiisoft/yii2-gii/commit/ed61e0d85f43e23f79d7c9d1b4e5e5c09a32ce4b","tags":["web"]},{"url":"https://github.com/yiisoft/yii2-gii","tags":["package"]},{"url":"https://lab.wallarm.com/yii2-gii-remote-code-execution","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.01524,"epssPercentile":0.75163,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-36655","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36655","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-36655","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3mpg-q26j-83j5","ok":true,"note":"GHSA-3mpg-q26j-83j5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-36655","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}