Command injection in yiisoft/yii2-gii
High severity
GitHub Reviewed
Published
Jan 21, 2023
to the GitHub Advisory Database
•
Updated Apr 2, 2025
Description
Published by the National Vulnerability Database
Jan 21, 2023
Published to the GitHub Advisory Database
Jan 21, 2023
Reviewed
Jan 23, 2023
Last updated
Apr 2, 2025
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.
References