CVE-2018-20745
mediumpriority · track · 24EPSS 0.005 · 45 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-cr6r-6xm9-ww22Yii Incorrectly Implements CORS2022-05-14ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/yiisoft/yii2/issues/16193cnnvd
- https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdfcnnvd
- https://github.com/yiisoft/yii2/issues/16193enisa_euvd
- https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdfenisa_euvd
- https://github.com/yiisoft/yii2/issues/16193Issue TrackingThird Party Advisorynvd
- https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdfThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan