Wiz Agents & Workflows are here

CVE-2026-31858
PHP vulnerability analysis and mitigation

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.


SourceNVD

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34728HIGH8.7
  • PHPPHP
  • phpmyfaq/phpmyfaq
NoYesApr 02, 2026
CVE-2026-34598HIGH7.1
  • PHPPHP
  • yeswiki/yeswiki
NoYesApr 02, 2026
CVE-2026-34973MEDIUM6.9
  • PHPPHP
  • thorsten/phpmyfaq
NoYesApr 02, 2026
CVE-2026-34729MEDIUM6.1
  • PHPPHP
  • phpmyfaq/phpmyfaq
NoYesApr 02, 2026
CVE-2026-34974MEDIUM5.4
  • PHPPHP
  • thorsten/phpmyfaq
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management