SQL Injection in Craftcms Cms
CVE-2026-31858
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 (in…
Vulnerability class: SQL Injection
EPSS: 0.004 (27.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Craftcms Cms — versions >= 5.0.0-RC1, <= 5.9.8
- Craftcms Craft_cms — versions 5.0.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-31858?
- CVE-2026-31858 is a high-severity vulnerability in Craftcms Cms, classified under SQL Injection. CVSS score: 8.8/10. Published 2026-03-11.
- How severe is CVE-2026-31858?
- High severity. CVSS v3 base score is 8.8 out of 10.