Broken CORS (Cross-Origin Resource Sharing) Affecting yiisoft/yii2 package, versions <2.0.16


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.06% (24th percentile)
Expand this section
NVD
5.9 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-YIISOFTYII2-73651
  • published 10 Feb 2019
  • disclosed 28 Jan 2019
  • credit chenjj

How to fix?

Upgrade yiisoft/yii2 to version 2.0.16 or higher.

Overview

yiisoft/yii2 is a Yii PHP Framework.

Affected versions of this package are vulnerable to Broken CORS (Cross-Origin Resource Sharing). It 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.