CVE-2018-20745: Medium severity yii framework vulnerability

Published Jan 28, 2019
·
Updated

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 Software

2 affected componentsFixes available
composer/yiisoft/yii2<2.0.16
2.0.16
Yiiframework Yii>=2.0<=2.0.15.1

Event History

Jan 28, 2019
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description
May 14, 2022
Advisory Published
01:33 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-20745?

CVE-2018-20745 is a vulnerability in Yii 2.x through 2.0.15.1 that converts a wildcard CORS policy into reflecting an arbitrary Origin header value.

2

What is the severity of CVE-2018-20745?

The severity of CVE-2018-20745 is medium with a severity value of 5.9.

3

How does CVE-2018-20745 affect Yii?

CVE-2018-20745 affects Yii 2.x through 2.0.15.1 by introducing CORS misconfiguration security problems.

4

How can I fix CVE-2018-20745?

To fix CVE-2018-20745, upgrade to Yii version 2.0.16 or later.

5

Where can I find more information about CVE-2018-20745?

You can find more information about CVE-2018-20745 at the following references: - [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-20745) - [GitHub Issue](https://github.com/yiisoft/yii2/issues/16193) - [Conference Paper](https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203