Skip to content
StratQuad

Threats

Yii Framework arbitrary code execution via behavior attachment

CVE-2024-58136Known exploitedCritical

Yii Framework versions before 2.0.52 do not properly validate behavior definitions when using the __class array key, allowing remote attackers to execute arbitrary code. An attacker needs to send a specially crafted request to an application using the vulnerable Yii Framework version. This vulnerability affects applications built with Yii and products that depend on it, such as Craft CMS.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
9.8
CRITICAL
EPSS score
0.88
Probability of exploitation in 30 days
EPSS percentile
99th
Share of scored CVEs at or below this one
Added to KEV
2 May 2025
CISA due date
23 May 2025
Applies to US federal agencies

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Daily EPSS score, 3 Nov to 15 Nov, source FIRST

Detail

Yiiframework Yii. CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Weakness: CWE-424 (opens in a new tab)

Affected versions

  • yiiframework yii: before 2.0.52