{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-7269","id":"CVE-2018-7269","title":"Yii SQL injection vulnerability","description":"The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection attacks via a findOne() or findAll() call, unless a developer recognizes an undocumented need to sanitize array input.","descriptionLong":"The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection attacks via a findOne() or findAll() call, unless a developer recognizes an undocumented need to sanitize array input.","published":"2018-03-21T18:00:00.000Z","updated":"2026-10-24T10:31:06.578544380Z","reserved":"2018-02-20T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","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.12.1",">=2.0.13 <2.0.13.2",">=2.0.14 <2.0.15"],"fixed":["2.0.12.1","2.0.13.2","2.0.15"],"advisory":"GHSA-hhg2-g6h6-c266"}],"cwes":["CWE-89"],"aliases":["GHSA-hhg2-g6h6-c266"],"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-7269","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-dev/CVE-2018-7269.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"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01897,"epssPercentile":0.80063,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-7269","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7269","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-7269","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hhg2-g6h6-c266","ok":true,"note":"GHSA-hhg2-g6h6-c266"},{"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-7269","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}