HighGHSA-8gfq-c54m-3rf6CVE-2018-6010

Yii Framework reflected Cross-site Scripting

Published 13 May 2022 · Updated 24 Apr 2024

Affected package

yiisoft/yii2Composer
Affected
>=2.0.0 <2.0.14
Fixed in
2.0.14
Update to the fixed version for your release line, for example:composer require yiisoft/yii2:^2.0.14

Details

In Yii Framework 2.x before 2.0.14, remote attackers could obtain potentially sensitive information from exception messages, or exploit reflected XSS on the error handler page in non-debug mode. Related to base/ErrorHandler.php, log/Dispatcher.php, and views/errorHandler/exception.php.

Is GHSA-8gfq-c54m-3rf6 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

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