Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. yiisoft/yii
  4. ›
  5. CVE-2018-6009

CVE-2018-6009: Cross-Site Request Forgery (CSRF)

January 22, 2018 (updated February 9, 2018)

In Yii Framework, the switchIdentity function in web/User.php does not regenerate the CSRF token upon a change of identity.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-6009

Code Behaviors & Features

Detect and mitigate CVE-2018-6009 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 up to 2.0.11.2, all versions starting from 2.0.12 up to 2.0.13.1

Fixed versions

  • 2.0.14

Solution

Upgrade to version 2.0.14 or above.

Impact 8.8 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

packagist/yiisoft/yii/CVE-2018-6009.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:43 +0000.