CVE-2017-7271 json
Yii Framework Reflected XSS
published 2017-03-27 9 y ago modified 2026-06-17 4 mo ago also GHSA-4xh9-5vh8-3p58 , EUVD-2022-2471
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist yiisoft/yii2 2.0.11
- github.com/yiisoft/yii2@97171a0 commit
- github.com/yiisoft/yii2#13401 pull request
Exploit prediction
1.04% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | yiisoft/yii2 | <2.0.11 |
2.0.11 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/yiisoft/yii2/commit/97171a0db7cda0a49931ee0c3b998ef50bd06756
web
-
github.com
/yiisoft/yii2/pull/13401
web
-
yiiframework.com
/news/123/yii-2-0-11-is-released/
release-notes, vendor-advisory
-
securityfocus.com
/bid/97167
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2017-7271
advisory
-
github.com
/yiisoft/yii2
package
-
web.archive.org
/web/20210125191138/http://www.securityfocus.com/bid/97167
web
-
yiiframework.com
/news/123/yii-2-0-11-is-released
web
Sources
- CVE List CVE-2017-7271
- GitHub Advisory GHSA-4xh9-5vh8-3p58
- NVD CVE-2017-7271
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.