8.8

CVE-2026-25495: craftcms cms SQL Injection

CVSS: 8.8v3.1HighAnalyzed
Published 09-02-2026Last modified 10-02-2026

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.

Overall risk
45/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.61%
0%100%
Low · +0.09 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 09-02-2026
    PublishedVulnerability first disclosed.
  2. 10-02-2026
    Last 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

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

20-09-202620-10-2026
EPSS score
0.61%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Cms

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Craftcms2 products
  • cms≥ 5.0.0-RC1, < 5.8.22 | ≥ 4.0.0-RC1, < 4.16.18
  • craft_cmsEOL> 4.0.0, < 4.16.18 | > 5.0.0, < 5.8.22 | 4.0.0 | 4.0.0:rc1 | 4.0.0:rc2 | 4.0.0:rc3 | 5.0.0 | 5.0.0:rc1

1 vendor · 2 products

References

3 links