Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. yiisoft/yii2-dev
  4. ›
  5. CVE-2018-20745

CVE-2018-20745: Origin Validation Error

January 28, 2019 (updated February 20, 2019)

Yii 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.

References

  • github.com/yiisoft/yii2/issues/16193
  • nvd.nist.gov/vuln/detail/CVE-2018-20745

Code Behaviors & Features

Detect and mitigate CVE-2018-20745 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0 up to 2.0.15.1

Fixed versions

  • 2.0.16

Solution

Upgrade to version 2.0.16 or above.

Impact 5.9 MEDIUM

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error

Source file

packagist/yiisoft/yii2-dev/CVE-2018-20745.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:40 +0000.