{"id":"CVE-2018-20745","aliases":["GHSA-cr6r-6xm9-ww22"],"url":"https://o3.security/vulnerability/CVE-2018-20745","summary":"Yii Incorrectly Implements CORS","details":"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.","published":"2019-01-28T08:29:00.527Z","modified":"2026-08-07T16:50:40.339135Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":{"score":0.00544,"percentile":0.44406,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"yiisoft/yii2","fixedVersion":"2.0.16"}],"fix":{"url":"https://github.com/yiisoft/yii2/pull/16198","label":"yiisoft/yii2#16198"},"references":[{"type":"ADVISORY","url":"https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf"},{"type":"REPORT","url":"https://github.com/yiisoft/yii2/issues/16193"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20745"},{"type":"WEB","url":"https://github.com/yiisoft/yii2/pull/16198"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T16:50:40.339135Z"}}