Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-jeyh-3jxd-z3g6
Summary
Craft CMS Vulnerable to SQL Injection in Element Indexes via `criteria[orderBy]`
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).

> [!NOTE]
> The `ORDER BY` clause executes per row. `SLEEP(1)` on 10 rows = 10s delay.

---
Aliases
0
alias CVE-2026-25495
1
alias GHSA-2453-mppf-46cj
Fixed_packages
0
url pkg:composer/craftcms/cms@4.16.18
purl pkg:composer/craftcms/cms@4.16.18
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@4.16.18
1
url pkg:composer/craftcms/cms@5.8.22
purl pkg:composer/craftcms/cms@5.8.22
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@5.8.22
Affected_packages
0
url pkg:composer/craftcms/cms@4.0.0-RC1
purl pkg:composer/craftcms/cms@4.0.0-RC1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-1468-4fdx-kbfr
1
vulnerability VCID-1mb5-28xp-ckd2
2
vulnerability VCID-2vn9-2cs3-vbg3
3
vulnerability VCID-5cxe-tjpb-3qan
4
vulnerability VCID-71sv-62m4-z3er
5
vulnerability VCID-7y4f-ef7t-47eb
6
vulnerability VCID-8u2j-17a4-q7eh
7
vulnerability VCID-9enr-b6zd-mbh8
8
vulnerability VCID-akrv-yqnf-1kg8
9
vulnerability VCID-azr5-12f8-hfbm
10
vulnerability VCID-c2nk-y4rx-1qf4
11
vulnerability VCID-cys8-jnmu-77ec
12
vulnerability VCID-ec34-nvn3-qbcb
13
vulnerability VCID-f7gc-cgka-tycr
14
vulnerability VCID-h6t5-pdp5-8qhe
15
vulnerability VCID-hyct-5gap-7kdu
16
vulnerability VCID-jeyh-3jxd-z3g6
17
vulnerability VCID-jhen-vhqx-n7dr
18
vulnerability VCID-jsfs-azcs-mfcm
19
vulnerability VCID-jxz8-g6fq-dubw
20
vulnerability VCID-kbrc-85av-nfcn
21
vulnerability VCID-m5rf-usae-yfb7
22
vulnerability VCID-ppet-ruae-1kav
23
vulnerability VCID-qq68-3j4y-47am
24
vulnerability VCID-qwmy-d2e8-5khw
25
vulnerability VCID-qywv-vf4r-8bh9
26
vulnerability VCID-r5hp-5nju-9ubz
27
vulnerability VCID-twuy-wzb7-k7g3
28
vulnerability VCID-vasz-rnn1-67ev
29
vulnerability VCID-w9yn-1573-hyau
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@4.0.0-RC1
1
url pkg:composer/craftcms/cms@5.0.0-RC1
purl pkg:composer/craftcms/cms@5.0.0-RC1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-1468-4fdx-kbfr
1
vulnerability VCID-1mb5-28xp-ckd2
2
vulnerability VCID-39ct-cg7w-kyb6
3
vulnerability VCID-4wkr-jx1w-77hn
4
vulnerability VCID-5cxe-tjpb-3qan
5
vulnerability VCID-5mnd-qvaq-k3am
6
vulnerability VCID-5q5g-jrxm-eyhe
7
vulnerability VCID-71sv-62m4-z3er
8
vulnerability VCID-7y4f-ef7t-47eb
9
vulnerability VCID-8u2j-17a4-q7eh
10
vulnerability VCID-9enr-b6zd-mbh8
11
vulnerability VCID-a3b5-pwyh-yugv
12
vulnerability VCID-akrv-yqnf-1kg8
13
vulnerability VCID-azr5-12f8-hfbm
14
vulnerability VCID-c2nk-y4rx-1qf4
15
vulnerability VCID-cys8-jnmu-77ec
16
vulnerability VCID-esma-wxje-eqh3
17
vulnerability VCID-fpea-e48p-kfbn
18
vulnerability VCID-h6t5-pdp5-8qhe
19
vulnerability VCID-hkp9-3hzv-quhk
20
vulnerability VCID-hyct-5gap-7kdu
21
vulnerability VCID-jeyh-3jxd-z3g6
22
vulnerability VCID-jsfs-azcs-mfcm
23
vulnerability VCID-jxz8-g6fq-dubw
24
vulnerability VCID-kbrc-85av-nfcn
25
vulnerability VCID-m5rf-usae-yfb7
26
vulnerability VCID-pgm4-svq8-tfc5
27
vulnerability VCID-ppet-ruae-1kav
28
vulnerability VCID-qq68-3j4y-47am
29
vulnerability VCID-qywv-vf4r-8bh9
30
vulnerability VCID-r5hp-5nju-9ubz
31
vulnerability VCID-rb7c-3nkc-gkeg
32
vulnerability VCID-twuy-wzb7-k7g3
33
vulnerability VCID-vasz-rnn1-67ev
34
vulnerability VCID-vvhc-rnpr-ubey
35
vulnerability VCID-w9yn-1573-hyau
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@5.0.0-RC1
References
0
reference_url https://github.com/craftcms/cms
reference_id
reference_type
scores
0
value 8.7
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/craftcms/cms
1
reference_url https://github.com/craftcms/cms/commit/96c60d775c644ff0a0276da52fe29e11d4cd38d2
reference_id
reference_type
scores
0
value 8.7
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/craftcms/cms/commit/96c60d775c644ff0a0276da52fe29e11d4cd38d2
2
reference_url https://github.com/craftcms/cms/releases/tag/4.16.18
reference_id
reference_type
scores
0
value 8.7
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/craftcms/cms/releases/tag/4.16.18
3
reference_url https://github.com/craftcms/cms/releases/tag/5.8.22
reference_id
reference_type
scores
0
value 8.7
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/craftcms/cms/releases/tag/5.8.22
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-25495
reference_id CVE-2026-25495
reference_type
scores
0
value 8.7
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-25495
5
reference_url https://github.com/advisories/GHSA-2453-mppf-46cj
reference_id GHSA-2453-mppf-46cj
reference_type
scores
url https://github.com/advisories/GHSA-2453-mppf-46cj
6
reference_url https://github.com/craftcms/cms/security/advisories/GHSA-2453-mppf-46cj
reference_id GHSA-2453-mppf-46cj
reference_type
scores
0
value 8.7
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/craftcms/cms/security/advisories/GHSA-2453-mppf-46cj
Weaknesses
0
cwe_id 89
name Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
description The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.
1
cwe_id 937
name OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013.
2
cwe_id 1035
name OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017.
Exploits
Severity_range_score7.0 - 8.9
Exploitability0.5
Weighted_severity8.0
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-jeyh-3jxd-z3g6