Vulnerability in Yiiframework Yii

CVE-2024-4990

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 instanti…

EPSS: 0.794 (99.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-4990?
CVE-2024-4990 is a critical-severity vulnerability in Yiiframework Yii, classified under Use of Externally-Controlled Input to Select Classes or Code (Unsafe Reflection). CVSS score: 9.1/10. Published 2025-03-20.
How severe is CVE-2024-4990?
Critical severity. CVSS v3 base score is 9.1 out of 10.