CVE-2026-31858
CVE-2026-31858 — CraftCMS's `ElementSearchController` Affected by Blind SQL Injection
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
8.7
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.7 | CVSS 4.0 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-89
References
2 on the record
- github.com/craftcms/cms/security/advisories/GHSA-g7j6-fmwx-7vp8
x_refsource_CONFIRM
- github.com/craftcms/cms/commit/e1a3dd669ae31491b86ad996e88a1d30d33d9a42
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-32432 Craft CMS Allows Remote Code ExecutionCVSS 10.0 · CISA KEV
- CVE-2019-9874 Sitecore CMS and Experience Platform (XP) Deserialization VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2019-9875 Sitecore CMS and Experience Platform (XP) Deserialization VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2023-41892 Craft CMS Remote Code Execution vulnerabilityCVSS 9.8
- CVE-2026-72898 Metabase SQL injection via password reset endpointCVSS 10.0 · CISA KEV
- CVE-2026-114625 Security Advisory 0199CVSS 9.9 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.