CVE-2018-6009: Yiiframework

High severity, CVSS 8.8. EPSS: 0.6% chance of exploitation in the next 30 days.

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.

Affected products

  • Yiiframework Yiiframework: version 2.0.0 only; version 2.0.1 only; version 2.0.2 only; version 2.0.3 only; version 2.0.4 only; version 2.0.5 only; …

Published 2018-01-22. Last modified 2026-06-17.