CVE-2018-7269: Yiiframework Yii

Critical severity, CVSS 9.8. EPSS: 1.9% chance of exploitation in the next 30 days.

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.

Affected products

  • Yiiframework Yii: from 2.0.0, before 2.0.15 (fixed in 2.0.15)

Published 2018-03-21. Last modified 2026-06-17.