Live threats

All CVEs / Yiiframework

CVE-2020-36655Yiiframework Gii

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
Yes
Published
Jan 21, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gii.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist yiisoft/yii2-gii < 2.2.2 2.2.2 composer require "yiisoft/yii2-gii:^2.2.2"

Per OSV / GitHub Advisories (GHSA-3mpg-q26j-83j5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yiiframeworkgii< 2.2.2

Official sources

References

Links published by the sources. Open them with care.