MediumGHSA-4c64-w8fg-xcq2CVE-2017-11516
Yii Cross-site Scripting Framework vulnerability
Published 17 May 2022 · Updated 24 Apr 2024
Is your project on an affected yiisoft/yii2-dev?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
yiisoft/yii2-devComposer
- Affected
- >=2.0.12 <2.0.13
- Fixed in
- 2.0.13
Update to the fixed version for your release line, for example:
composer require yiisoft/yii2-dev:^2.0.13yiisoft/yii2Composer
- Affected
- >=2.0.12 <2.0.13
- Fixed in
- 2.0.13
Update to the fixed version for your release line, for example:
composer require yiisoft/yii2:^2.0.13Details
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.
Is GHSA-4c64-w8fg-xcq2 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-dev, and gives you the command that fixes it.
More advisories for yiisoft/yii2-dev
- MediumCVE-2025-2689yiisoft Yii2 Deserialization of Untrusted Data · 24 Mar 2025
- CriticalCVE-2018-7269Yii SQL injection vulnerability · 24 May 2022
- HighCVE-2018-8074Yii Framework Code Injection · 24 May 2022
- HighCVE-2018-6009Yii Framework Cross-Site Request Forgery (CSRF) · 14 May 2022
- HighCVE-2021-3689Use of Insufficiently Random Values in yiisoft/yii2-dev · 1 Sept 2021
- MediumCVE-2021-3692Use of Cryptographically Weak Pseudo-Random Number Generator in yiisoft/yii2-dev · 1 Sept 2021
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.