{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-20745","published":"2019-01-28T08:29:00.527000Z","last_modified":"2026-06-17T01:53:23.537000Z","status":"Modified","cvss":{"version":"3.0","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-346"],"cpes":[{"criteria":"cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*","part":"a","vendor":"yiiframework","product":"yii","version_start_including":"2.0","version_end_including":"2.0.15.1"}],"cpes_truncated":false,"vendors":["yiiframework"],"products":["yiiframework/yii"],"epss":{"score":0.00544,"percentile":0.393,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-cr6r-6xm9-ww22","ecosystem":"Packagist","name":"yiisoft/yii2","purl":"pkg:composer/yiisoft/yii2","ranges":[{"introduced":"0","fixed":"2.0.16"}],"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"],"versions_truncated":false}],"severity":"medium","priority_score":50,"links":{"html_es":"/es/cve/CVE-2018-20745/","html_en":"/en/cve/CVE-2018-20745/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20745","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-20745"},"untrusted":{"vendor_name":"Yiiframework","product_name":"Yii","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/yiisoft/yii2/issues/16193","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf","tags":["Third Party Advisory"]}]}}