MEDIUM
GHSA-w2xx-jp9f-gp8g
Yii Framework Cross-site Scripting Vulnerability
Quick fix
GHSA-w2xx-jp9f-gp8g — yiisoft/yii2: upgrade to the fixed version with the command below.
composer require yiisoft/yii2:^2.0.4Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-3397[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2/CVE-2015-3397.yaml[WEB]
- https://github.com/yiisoft/yii2/blob/2.0.4/framework/CHANGELOG.md[WEB]
- https://web.archive.org/web/20210122155403/http://www.securityfocus.com/bid/74663[WEB]
- https://www.yiiframework.com/news/86/yii-2-0-4-is-released[WEB]
- http://www.securityfocus.com/bid/74663[WEB]
- http://www.yiiframework.com/news/86/yii-2-0-4-is-released[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/yiisoft/yii2"]}'