CVE-2018-8074Yiiframework Yii
High 8.1 No auth needed
Follow: this CVE · Yiiframework · Yiiframework Yii We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.0
- 8.1
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 74
- Auth required
- No
- Published
- Mar 21, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Yii 2.x before 2.0.15 allows remote attackers to inject unintended search conditions via a variant of the CVE-2018-7269 attack in conjunction with the Elasticsearch extension.
What to do
- Apply the vendor's security update for Yii.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | yiisoft/yii2-dev |
≥ 2.0.0 < 2.0.15 |
2.0.15 |
composer require "yiisoft/yii2-dev:^2.0.15" |
| Packagist | yiisoft/yii2-elasticsearch |
< 2.0.5 |
2.0.5 |
composer require "yiisoft/yii2-elasticsearch:^2.0.5" |
Per OSV / GitHub Advisories (GHSA-m2p5-fwp2-qcw2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yiiframework | yii | ≥ 2.0.0 < 2.0.15 |
Official sources
References
Links published by the sources. Open them with care.
- www.yiiframework.com Vendor Advisory