ADVISORIES

GitHub Advisory Database

GHSA-cr6r-6xm9-ww22

Yii Incorrectly Implements CORS

Moderate CVE-2018-20745

Details

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 packages

EcosystemPackageAffected versions
Packagistyiisoft/yii2
All versions before 2.0.16 (fixed in 2.0.16)

References