Medium severity · published Jul 28, 2023
CVE-2022-31454
Yii 2 v2.0.45 was discovered to contain a cross-site scripting (XSS) vulnerability via the endpoint /books
6.1
CVSS
0.4%
EPSS
No
On KEV
Description
Yii 2 v2.0.45 was discovered to contain a cross-site scripting (XSS) vulnerability via the endpoint /books. NOTE: this is disputed by the vendor because the cve-2022-31454-8e8555c31fd3 page does not describe why /books has a relationship to Yii 2.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 34% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
YI
Yii · Yiiframework
2.0.45 · source: NVD
Affected product
YI
Yii
Yiiframework
More from Yii
9.8
CVE-2024-58136
Yiiframework Yii Improper Protection of Alternate Path Vulnerability
10.0
CVE-2020-15148
Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls `unserialize()` on arbitrary user input
9.8
CVE-2025-2690
yiisoft Yii2 MockClass.php generate deserialization
9.8
CVE-2025-2689
yiisoft Yii2 SortableIterator.php getIterator deserialization
9.8
CVE-2023-47130
Unsafe deserialization of user data in yiisoft/yii