GHSA-cr6r-6xm9-ww22medium5.9
Yii Incorrectly Implements CORS
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
yiisoft/yii2 Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 2.0.16Ecosystem versions | 2.0.16 |
Version evidence: OSV · GHSA-cr6r-6xm9-ww22
View original version evidence (29 explicit versions)
Original source 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.