Is yiisoft/yii2 2.0 vulnerable?
Composer · 56 releases from 2.0.0 to 2.0.55 · latest yiisoft/yii2 is 2.0.55 · checked 2 Nov 2026
No known advisories in the last release
yiisoft/yii2 2.0.55, the last 2.0 release, has no known advisories. 12 advisories affect earlier 2.0.x releases, so update to 2.0.55.
composer require yiisoft/yii2:^2.0.55Fixed within 2.0.x, affecting earlier releases
Yii 2: Local file inclusion via view parameter name collision
- Affected
- <2.0.55
- Fixed in
- 2.0.55
yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key
- Affected
- <2.0.52
- Fixed in
- 2.0.52
Unsafe Reflection in base Component class in yiisoft/yii2
- Affected
- <2.0.49.4
- Fixed in
- 2.0.49.4
Reflected Cross-site Scripting in yiisoft/yii2 Debug mode
- Affected
- >=2.0.43 <2.0.49.4
- Fixed in
- 2.0.49.4
Yii2 allows attackers to execute any local .php file via a relative path in the view parameter
- Affected
- >=2.0.0 <2.0.5
- Fixed in
- 2.0.5
Yii Framework Cross-site Scripting Vulnerability
- Affected
- <2.0.4
- Fixed in
- 2.0.4
Yii Framework Reflected XSS
- Affected
- <2.0.11
- Fixed in
- 2.0.11
Yii Cross-site Scripting Framework vulnerability
- Affected
- >=2.0.12 <2.0.13
- Fixed in
- 2.0.13
Yii Framework Cross-Site Request Forgery (CSRF)
- Affected
- >=2.0 <2.0.14
- Fixed in
- 2.0.14
Yii Incorrectly Implements CORS
- Affected
- <2.0.16
- Fixed in
- 2.0.16
Yii Framework reflected Cross-site Scripting
- Affected
- >=2.0.0 <2.0.14
- Fixed in
- 2.0.14
Unsafe deserialization in Yii 2
- Affected
- <2.0.38
- Fixed in
- 2.0.38
Which of your client projects are still on yiisoft/yii2 2.0?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact yiisoft/yii2 version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Composer registry. Refreshed daily.