Yii 2.x through 2.0.15.1 actively converts a wildcard CORS policy into reflecting an…
Priority LOW 27CWE-346Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-346.
Summary
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.
Why it matters now
EPSS 0.00544 45th percentileScored 2026-11-07
Fix Fixed yiisoft/yii2 (Packagist): 2.0.16
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | yiisoft/yii2 (Packagist) | before 2.0.16 | 2.0.16 | Patch available | GHSA-cr6r-6xm9-ww22 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- yiisoft/yii2 (Packagist) Vendor— Affected before 2.0.16 Fixed in 2.0.16 Patch available GHSA-cr6r-6xm9-ww22
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:* | 2.0 – 2.0.15.1 | Vulnerable | Yiiframework |
- cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:* Versions 2.0 – 2.0.15.1 Vulnerable ·Yiiframework
Remediation
- Fix · GHSA-cr6r-6xm9-ww22 yiisoft/yii2 (Packagist) Fixed in 2.0.16 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-20745
- 2026-10-03 Alias added: GHSA-cr6r-6xm9-ww22
References
More Yiiframework Yii vulnerabilities
- TI-2024-38344 Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class… KEVCVSS 3.1CRITICAL 9.8
- TI-2020-11920 Unsafe deserialization in Yii 2 CVSS 3.1CRITICAL 10.0
- TI-2024-04634 Unsafe Reflection in base Component class in yiisoft/yii2 CVSS 3.1CRITICAL 9.1
- TI-2025-02355 yiisoft Yii2 MockClass.php generate deserialization CVSS 4.0MEDIUM 5.3
- TI-2025-02354 yiisoft Yii2 SortableIterator.php getIterator deserialization CVSS 4.0MEDIUM 5.3
- TI-2023-11755 SQL injection vulnerability found in Yii Framework Yii 2 Framework before v.2.0.47 allows… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2018-20745 · CVE Program
- CVE-2018-20745 · NVD
- FIRST EPSS
- GHSA-cr6r-6xm9-ww22 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences