Live threats

All CVEs / Yii Software

CVE-2017-7271Yii Software Yii

Medium 6.1 No auth needed

Priority
52
CVSS 3.0
6.1
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Mar 27, 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

Reflected Cross-site scripting (XSS) vulnerability in Yii Framework before 2.0.11, when development mode is used, allows remote attackers to inject arbitrary web script or HTML via crafted request data that is mishandled on the debug-mode exception screen.

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.11 2.0.11 composer require "yiisoft/yii2:^2.0.11"

Per OSV / GitHub Advisories (GHSA-4xh9-5vh8-3p58). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
yii_softwareyii≤ 2.0.10

Official sources

References

Links published by the sources. Open them with care.