MEDIUM6.1
GHSA-4xh9-5vh8-3p58
Yii Framework Reflected XSS
Quick fix
GHSA-4xh9-5vh8-3p58 — yiisoft/yii2: upgrade to the fixed version with the command below.
composer require yiisoft/yii2:^2.0.11Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-7271[ADVISORY]
- https://github.com/yiisoft/yii2/pull/13401[WEB]
- https://github.com/yiisoft/yii2/commit/97171a0db7cda0a49931ee0c3b998ef50bd06756[WEB]
- https://github.com/yiisoft/yii2[PACKAGE]
- https://web.archive.org/web/20210125191138/http://www.securityfocus.com/bid/97167[WEB]
- http://www.yiiframework.com/news/123/yii-2-0-11-is-released[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/yiisoft/yii2"]}'