TROYANOSYVIRUS
Back to CVEs

CVE-2026-31858

HIGH
8.8

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.

CVE Details

CVSS v3.1 Score8.8
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published3/11/2026
Last Modified3/17/2026
Sourcenvd
Honeypot Sightings0

Affected Products

craftcms:craft_cms

Weaknesses (CWE)

CWE-89

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.