{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-20745","id":"CVE-2018-20745","title":"Yii Incorrectly Implements CORS","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.","descriptionLong":"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:00:00.000Z","updated":"2026-10-20T10:50:06.813567017Z","reserved":"2019-01-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"yiisoft/yii2","purl":"pkg:composer/yiisoft/yii2","ranges":["<2.0.16"],"fixed":["2.0.16"],"advisory":"GHSA-cr6r-6xm9-ww22"}],"cwes":["CWE-346"],"aliases":["GHSA-cr6r-6xm9-ww22"],"references":[{"url":"https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/yiisoft/yii2/issues/16193","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20745","tags":["advisory"]},{"url":"https://github.com/yiisoft/yii2/pull/16198","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00544,"epssPercentile":0.46395,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-20745","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20745","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-20745","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cr6r-6xm9-ww22","ok":true,"note":"GHSA-cr6r-6xm9-ww22"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-20745","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}