High severity8.8NVD Advisory· Published Jan 22, 2018· Updated Jun 17, 2026
CVE-2018-6009
CVE-2018-6009
Description
In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
yiisoft/yii2Packagist | >= 2.0, < 2.0.14 | 2.0.14 |
yiisoft/yii2-devPackagist | >= 2.0, < 2.0.14 | 2.0.14 |
Affected products
2- ghsa-coords2 versions
>= 2.0, < 2.0.14+ 1 more
- (no CPE)range: >= 2.0, < 2.0.14
- (no CPE)range: >= 2.0, < 2.0.14
Patches
Vulnerability mechanics
References
6- github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-cwhm-272p-3wj9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-6009ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-dev/CVE-2018-6009.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2/CVE-2018-6009.yamlghsaWEB
- www.yiiframework.com/news/165/yii-2-0-14-is-releasedghsaWEB
News mentions
0No linked articles in our index yet.