Skip to content
Fencer Intel
high 8.8

CVE-2018-6009 json

Yii Framework Cross-Site Request Forgery (CSRF)

published 2018-01-22 8 y ago modified 2026-06-17 4 mo ago also GHSA-cwhm-272p-3wj9 , EUVD-2022-3649

cvss
8.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

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.

Patch / fix

  • packagist yiisoft/yii2 2.0.14
  • packagist yiisoft/yii2-dev 2.0.14

Exploit prediction

0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist yiisoft/yii2
>=2.0, <2.0.14
2.0.14
packagist yiisoft/yii2-dev
>=2.0, <2.0.14
2.0.14

Classification

Weakness
  • CWE-352 Cross-Site Request Forgery

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.