Live threats

All CVEs / Yiiframework

CVE-2018-8074Yiiframework Yii

High 8.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Yii.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
yiiframeworkyii≥ 2.0.0 < 2.0.15

Official sources

References

Links published by the sources. Open them with care.