Yii 2 is a PHP application framework. Versions 2.0.54 and prior contain flawed logic in the core view rendering method View::renderPhpFile() that leads to Local File Inclusion. The function calls extract($params, EXTR_OVERWRITE) before the require statement that loads the view fi...
Vendor
yiisoft vulnerabilities
28 published CVES affecting yiisoft, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 28
- Critical
- 9
- High
- 8
- Medium
- 11
- Low
- 0
- Unscored
- 0
- CISA KEV
- 1
Products
- yiisoft/yii2 14
- yiisoft/yii2-dev 7
- yiisoft/yii 4
- yiisoft/yii2 3
- yiisoft/yii2-authclient 2
- yiisoft/yii2-gii 2
- yiisoft/yii2-redis 2
- yiisoft/yii2-elasticsearch 1
Latest yiisoft CVEs
Newest publication first · page 1 of 2
-
HighCVSS 7.4 EPSS 0.46%
-
CVE-2025-48493 Yii 2 Redis may expose AUTH paramters in logs in case of connection failure
PublishedMediumCVSS 5.1 EPSS 0.35%The Yii 2 Redis extension provides the redis key-value store support for the Yii framework 2.0. On failing connection, the extension writes commands sequence to logs. Prior to version 2.0.20, AUTH parameters are written in plain text exposing username and password. That might be...
-
CVE-2025-32027 Yii does not prevent XSS in scenarios where fallback error renderer is used
PublishedMediumCVSS 6.1 EPSS 0.25%Yii is an open source PHP web framework. Prior to 1.1.31, yiisoft/yii is vulnerable to Reflected XSS in specific scenarios where the fallback error renderer is used. Upgrade yiisoft/yii to version 1.1.31 or higher.
-
CVE-2024-58136 yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key
PublishedCriticalCVSS 9.8 EPSS 87.8% CISA KEV added 2025-05-02 Exploited in the wild Scanner templateYii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class array key, a CVE-2024-4990 regression, as exploited in the wild in February through April 2025.
-
MediumCVSS 5.3 EPSS 0.68%
A vulnerability, which was classified as critical, was found in yiisoft Yii2 up to 2.0.39. This affects the function Generate of the file phpunit\src\Framework\MockObject\MockClass.php. The manipulation leads to deserialization. It is possible to initiate the attack remotely. The...
-
MediumCVSS 5.3 EPSS 0.63%
A vulnerability, which was classified as critical, has been found in yiisoft Yii2 up to 2.0.45. Affected by this issue is the function getIterator of the file symfony\finder\Iterator\SortableIterator.php. The manipulation leads to deserialization. The attack may be launched remot...
-
CriticalCVSS 9.1 EPSS 80.1% PoC
In yiisoft/yii2 version 2.0.48, the base Component class contains a vulnerability where the __set() magic method does not validate that the value passed is a valid Behavior class name or configuration. This allows an attacker to instantiate arbitrary classes, passing parameters t...
-
MediumCVSS 4.7 EPSS 0.35%
Yii 2 is a PHP application framework. During internal penetration testing of a product based on Yii2, users discovered a Cross-site Scripting (XSS) vulnerability within the framework itself. This issue is relevant for the latest version of Yii2 (2.0.49.3). This issue lies in the...
-
HighCVSS 8.8 EPSS 0.49%
yii2-authclient is an extension that adds OpenID, OAuth, OAuth2 and OpenId Connect consumers for the Yii framework 2.0. In yii2-authclient prior to version 2.2.15, the Oauth2 PKCE implementation is vulnerable in 2 ways. First, the authCodeVerifier should be removed after usage (s...
-
CriticalCVSS 9.8 EPSS 0.72%
yii2-authclient is an extension that adds OpenID, OAuth, OAuth2 and OpenId Connect consumers for the Yii framework 2.0. In yii2-authclient prior to version 2.2.15, the Oauth1/2 state and OpenID Connect nonce is vulnerable for a timing attack since it is compared via regular strin...
-
CriticalCVSS 9.8 EPSS 1.9%
Yii is an open source PHP web framework. yiisoft/yii before version 1.1.29 are vulnerable to Remote Code Execution (RCE) if the application calls unserialize() on arbitrary user input. An attacker may leverage this vulnerability to compromise the host system. A fix has been devel...
-
CriticalCVSS 9.8 EPSS 0.88% PoC
web\ViewAction in Yii (aka Yii2) 2.x before 2.0.5 allows attackers to execute any local .php file via a relative path in the view parameeter.
-
HighCVSS 8.8 EPSS 1.6%
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.
-
MediumCVSS 5.4 EPSS 0.66%
Yii Yii2 Gii through 2.2.4 allows stored XSS by injecting a payload into any field.
-
CriticalCVSS 9.8 EPSS 1.5%
yiisoft/yii before version 1.1.27 are vulnerable to Remote Code Execution (RCE) if the application calls unserialize() on arbitrary user input. This has been patched in 1.1.27.
-
MediumCVSS 5.3 EPSS 1.7%
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
-
HighCVSS 7.5 EPSS 1.9%
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
-
CriticalCVSS 10.0 EPSS 77.5% Scanner template PoC
Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls unserialize() on arbitrary user input. This is fixed in version 2.0.38. A possible workaround without upgrading is available in the linked advisory.
-
MediumCVSS 5.9 EPSS 0.54%
Yii 2.x through 2.0.15.1 actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.
-
HighCVSS 8.1 EPSS 1.5% PoC
Yii 2.x before 2.0.15 allows remote attackers to inject unintended search conditions via a variant of the CVE-2018-7269 attack in conjunction with the Elasticsearch extension.
-
CriticalCVSS 9.8 EPSS 1.9% PoC
The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection attacks via a findOne() or findAll() call, unless a developer recognizes an undocumented need to sanitize array input.
-
CriticalCVSS 9.8 EPSS 1.6% PoC
Yii 2.x before 2.0.15 allows remote attackers to execute arbitrary LUA code via a variant of the CVE-2018-7269 attack in conjunction with the Redis extension.
-
HighCVSS 8.8 EPSS 0.60% PoC
In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.
-
HighCVSS 7.5 EPSS 2.9% PoC
In Yii Framework 2.x before 2.0.14, remote attackers could obtain potentially sensitive information from exception messages, or exploit reflected XSS on the error handler page in non-debug mode. Related to base/ErrorHandler.php, log/Dispatcher.php, and views/errorHandler/exceptio...
-
MediumCVSS 6.1 EPSS 0.83%
An XSS vulnerability exists in framework/views/errorHandler/exception.php in Yii Framework 2.0.12 affecting the exception screen when debug mode is enabled, because $exception->errorInfo is mishandled.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.