Security mailing lists by PureSourceCode

CVE-2018-20745

MEDIUM 5.9CVSS 3.0

Yii Incorrectly Implements CORS

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.

Published
28 Jan 2019
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-346
Also known as
GHSA-cr6r-6xm9-ww22
Sources
NVDJSONOSV GHSA-cr6r-6xm9-ww22JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.0 MEDIUM 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD yiiframework yii
cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*
>= 2.0, <= 2.0.15.1
OSV Packagist yiisoft/yii2 < 2.0.16 2.0.16

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 28 Jan 2019)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.