Yii Framework reflected Cross-site Scripting
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 2.0.0 before 2.0.14Ecosystem versions | 2.0.14 |
Version evidence: OSV · GHSA-8gfq-c54m-3rf6
View original version evidence (21 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2018-6010
- Source reference github.com/yiisoft/yii2/issues/14711
- Patch github.com/yiisoft/yii2/pull/15534
- Patch github.com/yiisoft/yii2/commit/6b0be47e0fa9c532e03b07b4369050582fcf5c7a
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2/CVE-2018-6010.yaml
- Source reference github.com/yiisoft/yii2-framework
- Source reference www.yiiframework.com/news/165/yii-2-0-14-is-released