CVE-2025-2690
Last modified
CVE-2025-2690 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.60% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Yiiframework | Yii | >= 2.0.0, <= 2.0.39 |
References
- https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.mdExploit, Third Party Advisory
- https://vuldb.com/?ctiid.300711Permissions Required, VDB Entry
- https://vuldb.com/?id.300711Permissions Required, VDB Entry
- https://vuldb.com/?submit.521718Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-2690?
How severe is CVE-2025-2690?
How do I fix CVE-2025-2690?
Are you affected by CVE-2025-2690?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
