{"id":"CVE-2018-7269","details":"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.","aliases":["GHSA-hhg2-g6h6-c266"],"modified":"2026-08-07T14:49:41.554734Z","published":"2018-03-21T18:29:00.237Z","references":[{"type":"ADVISORY","url":"http://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yiisoft/yii2","events":[{"introduced":"ae8d9782707b89315194ec70a139fece122b8977"},{"fixed":"702618a8637b4532cb3745c13f75e73c943ecc91"}],"database_specific":{"cpe":"cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.0.0"},{"fixed":"2.0.15"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7269.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}