GHSA-hhg2-g6h6-c266CriticalCVSS 9.8

Yii SQL injection vulnerability

Published
May 24, 2022
Last Modified
April 24, 2024

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products3

  • composer/yiisoft/yii2-dev:< 2.0.12.1
  • composer/yiisoft/yii2-dev:>= 2.0.13, < 2.0.13.2
  • composer/yiisoft/yii2-dev:>= 2.0.14, < 2.0.15

🔗 References (4)