# CVE-2017-11516: Yii Cross-site Scripting Framework vulnerability

Source: https://junglewise.ai/threats/cve-2017-11516-yii-cross-site-scripting-framework-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-17  
License: CC BY 4.0 with a link back

CVE-2017-11516 · Severity: low · CVSS 3 · Published 2022-05-17

Yii Cross-site Scripting Framework vulnerability

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

## Quick answers

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

**How severe is CVE-2017-11516?** Low severity, with a CVSS score of 3, published 17 May 2022.

**Which products and versions are affected?** yiisoft/yii2 (Packagist) ECOSYSTEM:introduced=2.0.12,fixed=2.0.13; yiisoft/yii2-dev (Packagist) ECOSYSTEM:introduced=2.0.12,fixed=2.0.13.

**Is there a fix for CVE-2017-11516?** Yes. yiisoft/yii2 (Packagist): upgrade to 2.0.13 or later; yiisoft/yii2-dev (Packagist): upgrade to 2.0.13 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2017-11516?** Check whether you run yiisoft/yii2 (Packagist) or yiisoft/yii2-dev (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/yii2 (Packagist): upgrade to 2.0.13 or later

  ```sh
  composer require yiisoft/yii2:^2.0.13
  ```

- yiisoft/yii2-dev (Packagist): upgrade to 2.0.13 or later

  ```sh
  composer require yiisoft/yii2-dev:^2.0.13
  ```


## Affected products

- yiisoft/yii2 (Packagist) ECOSYSTEM:introduced=2.0.12,fixed=2.0.13
- yiisoft/yii2-dev (Packagist) ECOSYSTEM:introduced=2.0.12,fixed=2.0.13

## Identifiers

- CVE-2017-11516
- GHSA-4c64-w8fg-xcq2

## Related threats

- [Yii 2 Local File Inclusion in View rendering](https://junglewise.ai/threats/cve-2026-39850-yii-2-local-file-inclusion-in-view-rendering)
- [yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key](https://junglewise.ai/threats/cve-2024-58136-yiiframework-yii-improper-protection-of-alternate-path)
- [yiisoft Yii2 Deserialization of Untrusted Data](https://junglewise.ai/threats/cve-2025-2689-yiisoft-yii2-deserialization-of-untrusted-data)
- [Unsafe Reflection in base Component class in yiisoft/yii2](https://junglewise.ai/threats/cve-2024-4990-unsafe-reflection-in-base-component-class-in-yiisoft-yii2)
- [Reflected Cross-site Scripting in yiisoft/yii2 Debug mode](https://junglewise.ai/threats/cve-2024-32877-reflected-cross-site-scripting-in-yiisoft-yii2-debug-mode)
