MediumGHSA-4c64-w8fg-xcq2CVE-2017-11516

Yii Cross-site Scripting Framework vulnerability

Published 17 May 2022 · Updated 24 Apr 2024

Affected packages

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.13
yiisoft/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.13

Details

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.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.