CVE-2018-20745

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
CVSS v3
5.9
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N · source nvd
Exploit chance (EPSS)
0.544%
chance of exploitation in the next 30 days
higher than 46.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2019-01-28Published by the CNA08:00 UTC
  2. 2022-05-14GitHub advisory published (GHSA-cr6r-6xm9-ww22)1202 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-cr6r-6xm9-ww22, affected packages:

EcosystemPackageVulnerable rangePatched
Packagistyiisoft/yii2< 2.0.162.0.16

Affected products

VendorProduct
yiiframeworkyii

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources