CVE-2022-34297 json
Yii2 Gii Cross-site Scripting vulnerability
published 2022-12-09 3 y ago modified 2026-06-17 4 mo ago also GHSA-x87m-36g7-6mpw , EUVD-2022-7771
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
Yii Yii2 Gii through 2.2.4 allows stored XSS by injecting a payload into any field.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gist.github.com https://gist.github.com/be4r/b5c48d97ef6726d3ee37f995ee5aac81 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | yiisoft/yii2-gii | <=2.2.4 |
no fix listed |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
gist.github.com
/be4r/b5c48d97ef6726d3ee37f995ee5aac81
web, exploit, third-party-advisory
-
github.com
/yiisoft/yii2-gii
product, web
-
yiiframework.com
/doc/guide/2.0/en/start-gii
product, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-34297
advisory
Sources
- CVE List CVE-2022-34297
- GitHub Advisory GHSA-x87m-36g7-6mpw
- NVD CVE-2022-34297
Fencer Vulns 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.