Is yiisoft/yii2 vulnerable?

Composer yiisoft/yii2 has 13 known advisories in the phpwarden feed, 1 actively exploited. Feed 2026.10.29.1, updated 2026-10-28.

13advisories
2critical
1on CISA KEV
0no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2024-58136 KEVyiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Keycritical9.0<2.0.522.0.52
CVE-2024-4990Unsafe Reflection in base Component class in yiisoft/yii2high8.1<2.0.49.42.0.49.4
CVE-2020-15148Unsafe deserialization in Yii 2high8.9<2.0.382.0.38
CVE-2018-6010Yii Framework reflected Cross-site Scriptinghigh7.5>=2.0.0 and <2.0.14 or <2.0.142.0.14
CVE-2015-3397Yii Framework Cross-site Scripting Vulnerabilitymedium0.0<2.0.42.0.4
CVE-2018-7269Potential SQL injection in methods `yii\db\ActiveRecord::findOne()` and `::findAll()`unknown0.0<2.0.12.1 or >=2.0.13 and <2.0.13.2 or >=2.0.14 and <2.0.152.0.12.1, 2.0.13.2, 2.0.15
CVE-2017-7271Yii Framework Reflected XSSmedium6.1<2.0.112.0.11
CVE-2015-5467Yii2 allows attackers to execute any local .php file via a relative path in the view parametercritical9.8>=2.0.0 and <2.0.5 or <2.0.52.0.5
CVE-2017-11516Yii Cross-site Scripting Framework vulnerabilitymedium6.1>=2.0.12 and <2.0.132.0.13
CVE-2018-6009Yii Framework Cross-Site Request Forgery (CSRF)high8.8>=2.0 and <2.0.14 or <2.0.142.0.14
CVE-2018-20745Yii Incorrectly Implements CORSmedium5.9<2.0.162.0.16
CVE-2026-39850Yii 2: Local file inclusion via view parameter name collisionhigh7.4<2.0.552.0.55
CVE-2024-32877Reflected Cross-site Scripting in yiisoft/yii2 Debug modemedium4.2>=2.0.43 and <2.0.49.42.0.49.4

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.