{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-8074","id":"CVE-2018-8074","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.","descriptionLong":"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.","published":"2018-03-21T18:00:00.000Z","updated":"2026-10-24T10:30:48.965220049Z","reserved":"2018-03-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"high","source":"NVD"},"metrics":[{"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","rating":"high","source":"NVD"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"yiisoft/yii2-dev","purl":"pkg:composer/yiisoft/yii2-dev","ranges":[">=2.0.0 <2.0.15"],"fixed":["2.0.15"],"advisory":"GHSA-m2p5-fwp2-qcw2"},{"ecosystem":"Packagist","name":"yiisoft/yii2-elasticsearch","purl":"pkg:composer/yiisoft/yii2-elasticsearch","ranges":["<2.0.5"],"fixed":["2.0.5"],"advisory":"GHSA-m2p5-fwp2-qcw2"}],"cwes":["CWE-94"],"aliases":["GHSA-m2p5-fwp2-qcw2"],"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://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"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01492,"epssPercentile":0.74642,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-8074","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8074","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-8074","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m2p5-fwp2-qcw2","ok":true,"note":"GHSA-m2p5-fwp2-qcw2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-8074","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["elasticsearch"],"critical":[],"attention":null}