{"id":"CVE-2018-8074","aliases":["EUVD-2022-4471","GHSA-m2p5-fwp2-qcw2"],"status":"published","title":"Yii Framework Code Injection","description":"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.","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01492,"percentile":0.74299,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2018-03-21T18:00:00Z","modified":"2026-10-24T10:30:48Z","fixes":[{"ecosystem":"Packagist","package":"yiisoft/yii2-dev","fixed_in":["2.0.15"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"yiisoft/yii2-elasticsearch","fixed_in":["2.0.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"yiisoft/yii2-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.15"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"yiisoft/yii2-elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5"}]}]},{"source":"osv","ecosystem":"Packagist","package":"yiisoft/yii2-dev","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.15"}]}],"versions":["2.0.0","2.0.1","2.0.10","2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.12.1","2.0.12.2","2.0.13","2.0.13.1","2.0.13.2","2.0.13.3","2.0.14","2.0.14.1","2.0.14.2","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9"]},{"source":"osv","ecosystem":"Packagist","package":"yiisoft/yii2-elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5"}]}],"versions":["2.0.0","2.0.0-alpha","2.0.0-beta","2.0.0-rc","2.0.1","2.0.2","2.0.3","2.0.4"]}],"products":[{"vendor":"yiiframework","product":"yii"}],"references":[{"url":"http://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8074","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-elasticsearch/CVE-2018-8074.yaml","tags":["web"]},{"url":"https://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/"},{"url":"https://github.com/advisories/GHSA-m2p5-fwp2-qcw2"},{"url":"https://github.com/yiisoft/yii2","tags":["package"]},{"url":"https://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes","tags":["web"]},{"url":"http://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-8074","description":"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.","status":"published","published":"2018-03-21T18:00:00Z","modified":"2024-08-05T06:46:12.231Z","updated_at":"2026-11-02T14:35:04.540365Z"}],"euvd":[{"id":"EUVD-2022-4471","description":"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.","status":"published","published":"2018-03-21T18:00:00Z","modified":"2024-08-05T06:46:12Z","updated_at":"2026-11-03T02:40:04.215722Z"}],"ghsa":[{"id":"GHSA-m2p5-fwp2-qcw2","title":"Yii Framework Code Injection","description":"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.","status":"published","published":"2022-05-24T16:56:44Z","modified":"2024-02-05T15:35:51Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:37:36.076201Z"}],"nvd":[{"id":"CVE-2018-8074","description":"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.","status":"published","published":"2018-03-21T18:29:00.347Z","modified":"2026-06-17T02:04:12.677Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:04:24.264003Z"}],"osv":[{"id":"CVE-2018-8074","description":"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.","status":"published","published":"2018-03-21T18:29:00.347Z","modified":"2026-10-24T10:30:48.965220049Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"GHSA-m2p5-fwp2-qcw2","title":"Yii Framework Code Injection","description":"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.","status":"published","published":"2022-05-24T16:56:44Z","modified":"2024-02-16T08:18:22.410656Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:51.10002Z"}]}}
