Medium severity · published Jan 28, 2019
CVE-2018-20745
Yii 2.x through 2.0.15.1 actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could…
5.9
CVSS
0.5%
EPSS
No
On KEV
Description
Yii 2.x through 2.0.15.1 actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 46% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
YI
Yii · Yiiframework
2.0 through 2.0.15.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-20745
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-20745
Issue Tracking
https://github.com/yiisoft/yii2/issues/16193
Third Party Advisory
https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf
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
