GitHub Advisory Database
GHSA-cr6r-6xm9-ww22
Yii Incorrectly Implements CORS
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | yiisoft/yii2 | All versions before 2.0.16 (fixed in 2.0.16) |