GitHub Advisory Database
GHSA-3mpg-q26j-83j5
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | yiisoft/yii2-gii | All versions before 2.2.2 (fixed in 2.2.2) |