Live threats

All CVEs / Yiiframework

CVE-2018-6010Yiiframework

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
2.9%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Jan 22, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yiiframework.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist yiisoft/yii2 ≥ 2.0.0 < 2.0.14 2.0.14 composer require "yiisoft/yii2:^2.0.14"

Per OSV / GitHub Advisories (GHSA-8gfq-c54m-3rf6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yiiframeworkyiiframework2.0.0
yiiframeworkyiiframework2.0.0
yiiframeworkyiiframework2.0.0
yiiframeworkyiiframework2.0.0
yiiframeworkyiiframework2.0.1
yiiframeworkyiiframework2.0.2
yiiframeworkyiiframework2.0.3
yiiframeworkyiiframework2.0.4
yiiframeworkyiiframework2.0.5
yiiframeworkyiiframework2.0.6
yiiframeworkyiiframework2.0.7
yiiframeworkyiiframework2.0.8
yiiframeworkyiiframework2.0.9
yiiframeworkyiiframework2.0.10
yiiframeworkyiiframework2.0.11
yiiframeworkyiiframework2.0.11.1
yiiframeworkyiiframework2.0.11.2
yiiframeworkyiiframework2.0.12
yiiframeworkyiiframework2.0.13
yiiframeworkyiiframework2.0.13.1

Official sources

References

Links published by the sources. Open them with care.