CVE-2018-6010 Yii Framework reflected Cross-site Scripting
Attackers can exploit reflected XSS and leak sensitive information via exception messages in the Yii Framework error handler.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-6010?
CVE-2018-6010 is a high-severity cross-site scripting vulnerability in n/a, published on 22 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2018-6010?
2 open source packages ship an affected version, including yiisoft/yii2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
yiisoft/yii2 Packagist | From 2.0.0 | 2.0.14 |
yiisoft/yii2 Packagist | From 2.0.0 | 2.0.14 |
Products include Yiiframework Yiiframework.
How do I fix CVE-2018-6010?
Upgrade yiisoft/yii2 to 2.0.14 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2018-6010 being exploited?
There is no known exploitation of CVE-2018-6010 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8gfq-c54m-3rf6.