Packagist (PHP)Worst: High4 advisories

yiisoft/yii: known vulnerabilities

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

How to fix yiisoft/yii

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

composer require yiisoft/yii:^1.1.31 (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 (4)

Yii does not prevent XSS in scenarios where fallback error renderer is used Moderate 6.1 CWE-79 — Affected: before 1.1.31. Fixed in 1.1.31. Published 2025-04-10. GHSA-7r2v-8wxr-3ch5 · CVE-2025-32027
yiisoft/yii deserializing untrusted user input can lead to remote code execution High 8.1 CWE-502 — Affected: before 1.1.29. Fixed in 1.1.29. Published 2023-11-14. GHSA-mw2w-2hj2-fg8q · CVE-2023-47130
Prevent RCE when deserializing untrusted user input High 8.1 CWE-502 — Affected: before 1.1.27. Fixed in 1.1.27. Published 2022-11-23. GHSA-442f-wcwq-fpcf · CVE-2022-41922
Yii PHP Framework arbitrary PHP scripts execution High CWE-94 — Affected: from 1.1.14 up to 1.1.15. Fixed in 1.1.15. Published 2014-07-03. GHSA-74qv-rv53-5wcx · CVE-2014-4672

Find yiisoft/yii 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.