CVE-2020-36655: Code Injection

Published Jan 21, 2023
·
Updated

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 Software

2 affected componentsFixes available
Yiiframework Gii Yii2<2.2.2
composer/yiisoft/yii2-gii<2.2.2
2.2.2

Event History

Jan 21, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Advisory Published
via GitHub·03:30 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2020-36655.

2

What is the severity of CVE-2020-36655?

The severity of CVE-2020-36655 is high (8.8).

3

How does CVE-2020-36655 allow attackers to execute arbitrary code?

CVE-2020-36655 allows remote attackers to execute arbitrary code by embedding PHP code into the model file through the Generator.php messageCategory field.

4

Which version of Yii2 Gii is affected by CVE-2020-36655?

Yii2 Gii before version 2.2.2 is affected by CVE-2020-36655.

5

How can I fix CVE-2020-36655?

To fix CVE-2020-36655, upgrade to Yii2 Gii version 2.2.2 or newer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203