Advisory record · GHSA-hhg2-g6h6-c266

Yii SQL injection vulnerability

CVSS 9.8 CriticalCriticalEPSS 0.019 · 80th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 24 May 2022, 16:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
yiisoft/yii2-devPackagist<2.0.12.1 || >=2.0.13, <2.0.13.2 || >=2.0.14, <2.0.152.0.12.1, 2.0.13.2, 2.0.15
Identifiers
GHSA-hhg2-g6h6-c266 · CVE-2018-7269 · PKSA-hb8b-2qmh-yv87 · PKSA-xtm2-wjhy-b81b
Weakness (CWE)
CWE-89
Published
24 May 2022
Updated
24 Apr 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Yii 2 (yiisoft/yii2-dev) versions before 2.0.12.1, from 2.0.13 before 2.0.13.2, and from 2.0.14 before 2.0.15 are vulnerable to SQL injection through the findByCondition function in ActiveRecord, reachable via findOne() or findAll() calls. A remote attacker can run SQL injection when the application passes array input without sanitizing it, which the source describes as an undocumented requirement. Upgrade to 2.0.12.1, 2.0.13.2, or 2.0.15 or later. Sanitize array input passed to these calls in the meantime.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.019, the 80th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:30 UTC First seen by agentprime
  2. 31 Oct 2026, 14:30 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.