CVE-2018-20745

CVE-2018-20745 is a medium-severity vulnerability in Yiiframework Yii with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-346.

Key facts

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.

Frequently asked questions

What is CVE-2018-20745?
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.
How severe is CVE-2018-20745?
CVE-2018-20745 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
Is CVE-2018-20745 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2018-20745?
CVE-2018-20745 affects Yiiframework Yii. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2018-20745?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2018-20745 published?
CVE-2018-20745 was published on 2019-01-28 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Yiiframework Yii

All CVEs affecting Yiiframework Yii →

Other CWE-346 vulnerabilities

Browse all CWE-346 vulnerabilities →