Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Yiiframework | Yii | >= 2.0.0, <= 2.0.39 |
Related Weaknesses (CWE)
References
- https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.mdExploitThird Party Advisory
- https://vuldb.com/?ctiid.300711Permissions RequiredVDB Entry
- https://vuldb.com/?id.300711Permissions RequiredVDB Entry
- https://vuldb.com/?submit.521718Third Party AdvisoryVDB Entry
FAQ
What is CVE-2025-2690?
CVE-2025-2690 is a vulnerability with a CVSS score of 6.3 (MEDIUM). 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 manipulati...
How severe is CVE-2025-2690?
CVE-2025-2690 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-2690?
Check the references section above for vendor advisories and patch information. Affected products include: Yiiframework Yii.