# CVE-2025-32027: Yii does not prevent XSS in scenarios where fallback error renderer is used

Source: https://junglewise.ai/threats/cve-2025-32027-yii-does-not-prevent-xss-in-scenarios-where-fallback-error  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-04-11  
License: CC BY 4.0 with a link back

CVE-2025-32027 · Severity: low · CVSS 3.1 · Published 2025-04-11

Yii does not prevent XSS in scenarios where fallback error renderer is used

Technologies: [yiisoft/yii (Packagist)](https://junglewise.ai/threats/technologies/yiisoft-yii). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2025-32027 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-32027 being exploited in the wild.

**How severe is CVE-2025-32027?** Low severity, with a CVSS score of 3.1, published 11 April 2025.

**Which products and versions are affected?** yiisoft/yii (Packagist) ECOSYSTEM:introduced=0,fixed=1.1.31.

**Is there a fix for CVE-2025-32027?** Yes. yiisoft/yii (Packagist): upgrade to 1.1.31 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-32027?** Check whether you run yiisoft/yii (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- yiisoft/yii (Packagist): upgrade to 1.1.31 or later

  ```sh
  composer require yiisoft/yii:^1.1.31
  ```


## Affected products

- yiisoft/yii (Packagist) ECOSYSTEM:introduced=0,fixed=1.1.31

## Identifiers

- CVE-2025-32027
- GHSA-7r2v-8wxr-3ch5

## Related threats

- [yiisoft/yii deserializing untrusted user input can lead to remote code execution](https://junglewise.ai/threats/cve-2023-47130-yiisoft-yii-deserializing-untrusted-user-input-can-lead-to-remote)
- [Prevent RCE when deserializing untrusted user input](https://junglewise.ai/threats/cve-2022-41922-prevent-rce-when-deserializing-untrusted-user-input)
- [Yii PHP Framework arbitrary PHP scripts execution](https://junglewise.ai/threats/cve-2014-4672-yii-php-framework-arbitrary-php-scripts-execution)
