Vulnerabilities · 2025 · Yiiframework
CVE-2025-2690
Yiiframework Yii vulnerability
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.
Affected products
Yii. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Yiiframework Yii runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Yiiframework products
CVE-2025-48493CVE-2025-32027CVE-2025-2689CVE-2024-58136CVE-2024-32877CVE-2024-4990CVE-2023-50714CVE-2023-50708All 28
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.