HIGH7.5
GHSA-8gfq-c54m-3rf6
Yii Framework reflected Cross-site Scripting
Quick fix
GHSA-8gfq-c54m-3rf6 — yiisoft/yii2: upgrade to the fixed version with the command below.
composer require yiisoft/yii2:^2.0.14Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-6010[ADVISORY]
- https://github.com/yiisoft/yii2/issues/14711[WEB]
- https://github.com/yiisoft/yii2/pull/15534[WEB]
- https://github.com/yiisoft/yii2/commit/6b0be47e0fa9c532e03b07b4369050582fcf5c7a[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2/CVE-2018-6010.yaml[WEB]
- https://github.com/yiisoft/yii2-framework[PACKAGE]
- https://www.yiiframework.com/news/165/yii-2-0-14-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"]}'