Advisory record · GHSA-cwhm-272p-3wj9

Yii Framework Cross-Site Request Forgery (CSRF)

CVSS 8.8 HighEPSS 0.0060 · 49th percentile

Published by the GitHub Advisory Database at 14 May 2022, 03:45 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
yiisoft/yii2Packagist>=2.0, <2.0.142.0.14
yiisoft/yii2-devPackagist>=2.0, <2.0.142.0.14
Identifiers
GHSA-cwhm-272p-3wj9 · CVE-2018-6009 · PKSA-tgtc-bnhk-szjb · PKSA-w352-mtnh-r175
Weakness (CWE)
CWE-352
Published
14 May 2022
Updated
24 Apr 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Yii Framework (yiisoft/yii2 and yiisoft/yii2-dev) versions before 2.0.14 are affected. The switchIdentity function in web/User.php did not regenerate the CSRF token when the user's identity changed, which the source describes as a cross-site request forgery issue. The source gives few details about the exact attack conditions or impact. Upgrade to version 2.0.14 or later.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.8 High 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0060, the 49th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:30 UTC First seen by agentprime
  2. 31 Oct 2026, 14:30 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.