CVE-2017-7271Yii Software Yii
Medium 6.1 No auth needed
Follow: this CVE · Yii Software · Yii Software Yii We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- Mar 27, 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
Reflected Cross-site scripting (XSS) vulnerability in Yii Framework before 2.0.11, when development mode is used, allows remote attackers to inject arbitrary web script or HTML via crafted request data that is mishandled on the debug-mode exception screen.
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.11 |
2.0.11 |
composer require "yiisoft/yii2:^2.0.11" |
Per OSV / GitHub Advisories (GHSA-4xh9-5vh8-3p58). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yii_software | yii | ≤ 2.0.10 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com
- www.yiiframework.com Release Notes Vendor Advisory
- github.com
- github.com