CVE-2017-11516Yiiframework Yii
Medium 6.1 No auth needed
Follow: this CVE · Yiiframework · Yiiframework Yii We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 59
- Auth required
- No
- Published
- Jul 21, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
An XSS vulnerability exists in framework/views/errorHandler/exception.php in Yii Framework 2.0.12 affecting the exception screen when debug mode is enabled, because $exception->errorInfo is mishandled.
What to do
- Apply the vendor's security update for Yii.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | yiisoft/yii2 |
≥ 2.0.12 < 2.0.13 |
2.0.13 |
composer require "yiisoft/yii2:^2.0.13" |
| Packagist | yiisoft/yii2-dev |
≥ 2.0.12 < 2.0.13 |
2.0.13 |
composer require "yiisoft/yii2-dev:^2.0.13" |
Per OSV / GitHub Advisories (GHSA-4c64-w8fg-xcq2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yiiframework | yii | 2.0.12 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory