Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-25495 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')[email protected]

Affected Products

ProductVersions
craftcms craft cms
> 4.0.0, < 4.16.18
> 5.0.0, < 5.8.22
4.0.0 -
4.0.0 rc1
4.0.0 rc2

CPE

  • cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
  • cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-25495
NVD Published Date:
Feb 9, 2026
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]