Yiiframework

28 CVEs across 5 Yiiframework products. Browse Yiiframework vulnerabilities, severities, and proof-of-concept exploits.

Yiiframework products with known CVEs

ProductCVEs
Yii19
Yiiframework4
Gii2
Yii2-Authclient2
Yii2-Redis1
Yiiframework CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2025-48493Medium6.52025-06-05The 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 t…
CVE-2025-32027Medium6.12025-04-10Yii 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…
CVE-2024-58136Critical9.02025-04-10Yii 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 Febru…
CVE-2025-2690Medium6.32025-03-24A 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…
CVE-2025-2689Medium6.32025-03-24A 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…
CVE-2024-4990Critical9.12025-03-20In 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…
CVE-2024-32877Medium4.22024-05-30Yii 2 is a PHP application framework. During internal penetration testing of a product based on Yii2, users discovered a Cross-site Scripting (XSS) vulnerabili…
CVE-2023-50714Medium6.82023-12-22yii2-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…
CVE-2023-50708Medium6.12023-12-22yii2-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…
CVE-2023-47130High8.12023-11-14Yii 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(…
CVE-2015-5467Critical9.82023-09-21web\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.
CVE-2022-31454Medium6.12023-07-28Yii 2 v2.0.45 was discovered to contain a cross-site scripting (XSS) vulnerability via the endpoint /books. NOTE: this is disputed by the vendor because the cv…
CVE-2023-26750Critical9.82023-04-04SQL injection vulnerability found in Yii Framework Yii 2 Framework before v.2.0.47 allows the a remote attacker to execute arbitrary code via the runAction fun…
CVE-2020-36655High8.82023-01-21Yii 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 c…
CVE-2022-34297Medium5.42022-12-09Yii Yii2 Gii through 2.2.4 allows stored XSS by injecting a payload into any field.
CVE-2022-41922High8.12022-11-23`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 be…
CVE-2021-3692Medium5.32021-08-10yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
CVE-2021-3689High7.52021-08-10yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
CVE-2020-15148High8.92020-09-15Yii 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 fix…
CVE-2018-20745Medium5.92019-01-28Yii 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 securit…
CVE-2018-8074High8.12018-03-21Yii 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 Elastics…
CVE-2018-8073Critical9.82018-03-21Yii 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.
CVE-2018-7269Critical9.82018-03-21The 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()…
CVE-2018-6010High7.52018-01-22In Yii Framework 2.x before 2.0.14, remote attackers could obtain potentially sensitive information from exception messages, or exploit reflected XSS on the er…
CVE-2018-6009High8.82018-01-22In 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.
CVE-2017-11516Medium6.12017-07-21An XSS vulnerability exists in framework/views/errorHandler/exception.php in Yii Framework 2.0.12 affecting the exception screen when debug mode is enabled, be…
CVE-2015-33972015-05-14Cross-site scripting (XSS) vulnerability in Yii Framework before 2.0.4 allows remote attackers to inject arbitrary web script or HTML via vectors related to JS…
CVE-2014-46722014-07-03The CDetailView widget in Yii PHP Framework 1.1.14 allows remote attackers to execute arbitrary PHP scripts via vectors related to the value property.