Live threats

All CVEs / Yiiframework

CVE-2017-11516Yiiframework Yii

Medium 6.1 No auth needed

Priority
52
CVSS 3.0
6.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 59
Auth required
No
Published
Jul 21, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

An XSS vulnerability exists in framework/views/errorHandler/exception.php in Yii Framework 2.0.12 affecting the exception screen when debug mode is enabled, because $exception->errorInfo is mishandled.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yii.
  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.12 < 2.0.13 2.0.13 composer require "yiisoft/yii2:^2.0.13"
Packagist yiisoft/yii2-dev ≥ 2.0.12 < 2.0.13 2.0.13 composer require "yiisoft/yii2-dev:^2.0.13"

Per OSV / GitHub Advisories (GHSA-4c64-w8fg-xcq2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yiiframeworkyii2.0.12

Official sources

References

Links published by the sources. Open them with care.

  • github.com Issue Tracking Patch Third Party Advisory
  • github.com Issue Tracking Patch Third Party Advisory