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-31858 Details

Description

Craft is a content management system (CMS). The ElementSearchController::actionSearch() endpoint is missing the unset() protection that was added to ElementIndexesController in CVE-2026-25495. The exact same SQL injection vulnerability (including criteria[orderBy], the original advisory vector) works on this controller because the fix was never applied to it. Any authenticated control panel user (no admin required) can inject arbitrary SQL via criteria[where], criteria[orderBy], or other query properties, and extract the full database contents via boolean-based blind injection. Users should update to the patched 5.9.9 release to mitigate the issue.

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
>= 5.0.1, < 5.9.9
5.0.0 -
5.0.0 rc1

CPE

  • cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
  • 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-31858
NVD Published Date:
Mar 11, 2026
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2026-31858 Details - Not Deferred