MediumGHSA-4xh9-5vh8-3p58CVE-2017-7271
Yii Framework Reflected XSS
Published 17 May 2022 · Updated 16 Feb 2024
Affected package
yiisoft/yii2Composer
- Affected
- <2.0.11
- Fixed in
- 2.0.11
Update to the fixed version for your release line, for example:
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.
Is GHSA-4xh9-5vh8-3p58 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected yiisoft/yii2, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-7271
- Linkgithub.com/yiisoft/yii2/pull/13401
- Linkgithub.com/yiisoft/yii2/commit/97171a0db7cda0a49931ee0c3b998ef50bd06756
- Packagegithub.com/yiisoft/yii2
- Linkweb.archive.org/web/20210125191138/http://www.securityfocus.com/bid/97167
- Linkwww.yiiframework.com/news/123/yii-2-0-11-is-released
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.