Vulnerability in Yiisoft Yiisoft/yii2

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.002 (41.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

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