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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (39th percentile)

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 IDSNYK-PHP-YIISOFTYII2-73651
  • published10 Feb 2019
  • disclosed28 Jan 2019
  • creditchenjj

Introduced: 28 Jan 2019

CVE-2018-20745  (opens in a new tab)
CWE-346  (opens in a new tab)

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.

CVSS Scores

version 3.1