CVE
CVE-2026-25495
CVE-2026-25495HIGH 8.7EPSS 47%
CNA 原文 · 原文(英文)
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.
受影响版本
- > 5.0.0, < 5.8.22修复版本 5.8.22
- 5.0.0仅此版本
- 5.0.0-rc1仅此版本
- > 4.0.0, < 4.16.18修复版本 4.16.18
- 4.0.0仅此版本
- 4.0.0-rc3仅此版本
- 4.0.0-rc2仅此版本
- 4.0.0-rc1仅此版本
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。