CVE-2026-25495: craftcms cms SQL Injection
Vulnerability summary
CVE-2026-25495 is a high (CVSS 8.8) SQL Injection vulnerability in craftcms cms. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 48% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 09-02-2026PublishedVulnerability first disclosed.
- 10-02-2026Last modifiedVulnerability information updated.
Description
Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, the element-indexes/get-elements endpoint is vulnerable to SQL Injection via the criteria[orderBy] parameter (JSON body). The application fails to sanitize this input before using it in the database query. An attacker with Control Panel access can inject arbitrary SQL into the ORDER BY clause by omitting viewState[order] (or setting both to the same payload). This issue is patched in versions 4.16.18 and 5.8.22.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.61%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
+0.09 pp
From 0.52% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundCms
Maturity: poc
Weaknesses
CWE · root causeAffected systems
1 vendor · 2 products
References
3 links- github.com/craftcms/cms/security/advisories/GHSA-2453-mppf-46cjX Refsource CONFIRMExploitPatchVendor Advisory