CVE-2026-25495HIGH 8.8EPSS p38.9%

CVE-2026-25495CVE-2026-25495

Description

Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, the element-indexes/get-elements endpoint is vulnerable to SQL Injection via the criteria[orderBy] parameter (JSON body). The application fails to sanitize this input before using it in the database query. An attacker with Control Panel access can inject arbitrary SQL into the ORDER BY clause by omitting viewState[order] (or setting both to the same payload). This issue is patched in versions 4.16.18 and 5.8.22.

Scoring

CVSS 3.18.8 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS0.50% probability of exploitation · percentile 38.9% · 2026-06-19T12:03:05Z
Published2026-02-09
Last modified2026-02-19

Underlying weaknesses· 1

CWE-89

References

  1. https://github.com/craftcms/cms/commit/96c60d775c644ff0a0276da52fe29e11d4cd38d2
  2. https://github.com/craftcms/cms/releases/tag/5.8.22
  3. https://github.com/craftcms/cms/security/advisories/GHSA-2453-mppf-46cj

1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection')cwe-890%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-31858
CVE
CVE-2026-29174
CVE
CVE-2026-29172
CVE
CVE-2026-31857
CVE
CVE-2026-8978
CVE
CVE-2025-68454
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.