{"id":"GHSA-cr6r-6xm9-ww22","aliases":["CVE-2018-20745"],"title":"Yii Incorrectly Implements CORS","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","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.","severity":"medium","score":5.9,"published":"2022-05-14T01:33:07.000Z","modified":"2024-02-16T08:04:27.924Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"yiisoft/yii2","sources":[{"name":"OSV · GHSA-cr6r-6xm9-ww22","url":"https://osv.dev/vulnerability/GHSA-cr6r-6xm9-ww22"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.0.16"}],"type":"ECOSYSTEM"}],"versions":["2.0.0","2.0.0-alpha","2.0.0-beta","2.0.0-rc","2.0.1","2.0.10","2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.12.1","2.0.12.2","2.0.13","2.0.13.1","2.0.13.2","2.0.13.3","2.0.14","2.0.14.1","2.0.14.2","2.0.15","2.0.15.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9"],"fixed":["2.0.16"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2018-20745","https://github.com/yiisoft/yii2/issues/16193","https://github.com/yiisoft/yii2/pull/16198","https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf"],"sources":[{"name":"OSV","id":"GHSA-cr6r-6xm9-ww22","modified":"2024-02-16T08:04:27.924059Z","url":"https://osv.dev/vulnerability/GHSA-cr6r-6xm9-ww22"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T21:25:31.856Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}