CVE-2018-7269
Yii SQL injection vulnerability
9.8
CRITICAL
CVSS 3.1
EPSS 1.4%
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.
How to fix CVE-2018-7269
To remediate CVE-2018-7269, upgrade the affected package to a fixed version below.
- Packagist/yiisoft/yii2-dev—upgrade to 2.0.12.1 or later
Is CVE-2018-7269 being exploited?
Low — EPSS is 1.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2.0.12.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |