VDB
Sign up
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.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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/yiisoft/yii2
Introduced in: 2.0.0Fixed in: 2.0.14
Fixcomposer require yiisoft/yii2:^2.0.14

References

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"]}'