Yii Framework Cross-site Scripting Vulnerability
Cross-site scripting (XSS) vulnerability in Yii Framework before 2.0.4 allows remote attackers to inject arbitrary web script or HTML via vectors related to JSON, arrays, and Internet Explorer 6 or 7.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | yiisoft/yii2 | < 2.0.4 | 2.0.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-3397
- https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2/CVE-2015-3397.yaml
- https://github.com/yiisoft/yii2/blob/2.0.4/framework/CHANGELOG.md
- https://web.archive.org/web/20210122155403/http://www.securityfocus.com/bid/74663
- https://www.yiiframework.com/news/86/yii-2-0-4-is-released
- http://www.securityfocus.com/bid/74663
- http://www.yiiframework.com/news/86/yii-2-0-4-is-released
- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
yiisoft/yii2- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-w2xx-jp9f-gp8g - CC BY 4.0
Vulnerability history: yiisoft/yii2
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 12
- First → latest
- 09.2020 05.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 2
- High 5
- Medium 5
Disclosures per year
- 2020: 1
- 2021: 0
- 2022: 6
- 2023: 1
- 2024: 2
- 2025: 1
- 2026: 1
-
Yii Framework Cross-site Scripting Vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.