Packagist (PHP)Worst: Critical7 advisories

yiisoft/yii2-dev: known vulnerabilities

yiisoft/yii2-dev has 7 reviewed security advisories in the GitHub Advisory Database — 1 critical, 3 high, 3 moderate. The most recent was published 2025-03-24. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the yiisoft/yii2-dev versions running across your servers, containers and images, and ranks what to patch first.

How to fix yiisoft/yii2-dev

Upgrade yiisoft/yii2-dev to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require yiisoft/yii2-dev:^2.0.15 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (7)

yiisoft Yii2 Deserialization of Untrusted Data Moderate 6.3 CWE-20 CWE-502 — Affected: up to and including 2.0.45. No fixed release is listed. Published 2025-03-24. GHSA-88m2-j94x-v4fx · CVE-2025-2689
Yii SQL injection vulnerability Critical 9.8 CWE-89 — Affected: from 2.0.14 up to 2.0.15. Fixed in 2.0.15. Published 2022-05-24. GHSA-hhg2-g6h6-c266 · CVE-2018-7269
Yii Framework Code Injection High 8.1 CWE-94 — Affected: from 2.0.0 up to 2.0.15. Fixed in 2.0.15. Published 2022-05-24. GHSA-m2p5-fwp2-qcw2 · CVE-2018-8074
Use of Insufficiently Random Values in yiisoft/yii2-dev High 7.5 CWE-330 — Affected: before 2.0.43. Fixed in 2.0.43. Published 2021-08-10. GHSA-hq3v-rg6f-6hx4 · CVE-2021-3689
Use of Cryptographically Weak Pseudo-Random Number Generator in yiisoft/yii2-dev Moderate 5.3 CWE-330 CWE-338 — Affected: before 2.0.43. Fixed in 2.0.43. Published 2021-08-10. GHSA-wwvv-x5mq-h3jj · CVE-2021-3692
Yii Framework Cross-Site Request Forgery (CSRF) High 8.8 CWE-352 — Affected: from 2.0 up to 2.0.14. Fixed in 2.0.14. Published 2018-01-22. GHSA-cwhm-272p-3wj9 · CVE-2018-6009
Yii Cross-site Scripting Framework vulnerability Moderate 6.1 CWE-79 — Affected: from 2.0.12 up to 2.0.13. Fixed in 2.0.13. Published 2017-07-21. GHSA-4c64-w8fg-xcq2 · CVE-2017-11516

Find yiisoft/yii2-dev across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.