← Back

Yii

yii

Vendor: Yiiframework • 19 CVEs

CVEs (19)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Yiiframework
1Yii
Sep 17, 2025
Apr 10, 2025
N/A· v4
6.1 MEDIUM· v3
N/A· v2
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.
1Yiiframework
1Yii
Nov 5, 2025
Apr 10, 2025
N/A· v4
9.8 CRITICAL· v3
N/A· v2
Yii 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.
1Yiiframework
1Yii
Mar 24, 2025
Mar 24, 2025
5.3 MEDIUM· v4
9.8 CRITICAL· v3
6.5 MEDIUM· v2
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 deserial...Show more
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 exploit has been disclosed to the public and may be used.Show less
1Yiiframework
1Yii
Mar 24, 2025
Mar 24, 2025
5.3 MEDIUM· v4
9.8 CRITICAL· v3
6.5 MEDIUM· v2
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 manipulatio...Show more
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 remotely. The exploit has been disclosed to the public and may be used.Show less
1Yiiframework
1Yii
Apr 1, 2025
Mar 20, 2025
N/A· v4
9.1 CRITICAL· v3
N/A· v2
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 a...Show more
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 to their constructors and invoking setter methods. Depending on the installed dependencies, various types of attacks are possible, including the execution of arbitrary code, retrieval of sensitive information, and unauthorized access.Show less
1Yiiframework
1Yii
Sep 22, 2025
May 30, 2024
N/A· v4
4.7 MEDIUM· v3
N/A· v2
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 th...Show more
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 mechanism for displaying function argument values in the stack trace. The vulnerability manifests when an argument's value exceeds 32 characters. For convenience, argument values exceeding this limit are truncated and displayed with an added "...". The full argument value becomes visible when hovering over it with the mouse, as it is displayed in the title attribute of a span tag. However, the use of a double quote (") allows an attacker to break out of the title attribute's value context and inject their own attributes into the span tag, including malicious JavaScript code through event handlers such as onmousemove. This vulnerability allows an attacker to execute arbitrary JavaScript code in the security context of the victim's site via a specially crafted link. This could lead to the theft of cookies (including httpOnly cookies, which are accessible on the page), content substitution, or complete takeover of user accounts. This issue has been addressed in version 2.0.50. Users are advised to upgrade. There are no known workarounds for this vulnerability.Show less
1Yiiframework
1Yii
Nov 21, 2024
Nov 14, 2023
N/A· v4
9.8 CRITICAL· v3
N/A· v2
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 vul...Show more
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 developed for the 1.1.29 release. Users are advised to upgrade. There are no known workarounds for this vulnerability.Show less
1Yiiframework
1Yii
Nov 21, 2024
Sep 21, 2023
N/A· v4
9.8 CRITICAL· v3
N/A· v2
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.
1Yiiframework
1Yii
Nov 21, 2024
Jul 28, 2023
N/A· v4
6.1 MEDIUM· v3
N/A· v2
Yii 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 cve-2022-31454-8e8555c31fd3 page does not describe why /books h...Show more
Yii 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 cve-2022-31454-8e8555c31fd3 page does not describe why /books has a relationship to Yii 2.Show less
1Yiiframework
1Yii
Feb 13, 2025
Apr 4, 2023
N/A· v4
9.8 CRITICAL· v3
N/A· v2
SQL 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 function. NOTE: the software maintainer's position is that the v...Show more
SQL 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 function. NOTE: the software maintainer's position is that the vulnerability is in third-party code, not in the framework.Show less
1Yiiframework
1Yii
Nov 21, 2024
Nov 23, 2022
N/A· v4
9.8 CRITICAL· v3
N/A· v2
`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.
1Yiiframework
1Yii
Nov 21, 2024
Aug 10, 2021
N/A· v4
5.3 MEDIUM· v3
5.0 MEDIUM· v2
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
1Yiiframework
1Yii
Nov 21, 2024
Aug 10, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator
1Yiiframework
1Yii
Nov 21, 2024
Sep 15, 2020
N/A· v4
10.0 CRITICAL· v3
7.5 HIGH· v2
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...Show more
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.Show less
1Yiiframework
1Yii
Nov 21, 2024
Jan 28, 2019
N/A· v4
5.9 MEDIUM· v3
4.3 MEDIUM· v2
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 pr...Show more
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.Show less
1Yiiframework
1Yii
Nov 21, 2024
Mar 21, 2018
N/A· v4
8.1 HIGH· v3
6.8 MEDIUM· v2
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.
1Yiiframework
1Yii
Nov 21, 2024
Mar 21, 2018
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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.
1Yiiframework
1Yii
Nov 21, 2024
Mar 21, 2018
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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 undocume...Show more
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.Show less
1Yiiframework
1Yii
May 13, 2026
Jul 21, 2017
N/A· v4
6.1 MEDIUM· v3
4.3 MEDIUM· v2
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.