{"id":"CVE-2026-123489","summary":"Craft CMS 4.0.0 before 4.18.9 Blind SQL Injection via getNext/getPrev Criteria","details":"Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains a blind SQL injection vulnerability because the sandbox-exposed getNext() and getPrev() methods pass arbitrary criteria arrays to Craft::configure() without removing SQL-bearing properties such as orderBy and where. Authenticated control panel users can supply a crafted elementIds value, rendered as a sandboxed template, to obtain a conditional SQL oracle under the Craft database account.","aliases":["GHSA-f6gf-r952-rxg6"],"modified":"2026-11-08T02:30:40.534886789Z","published":"2026-11-06T15:00:50.770Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123489.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123489.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-f6gf-r952-rxg6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123489"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/craft-cms-4.0.0-before-4.18.9-blind-sql-injection-via-getnext-getprev-criteria"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"982efcd14d7e93a1a54f0905b61f242de6b53d8a"},{"fixed":"2ad6097618e4e7913f7f242d112a6e6e67cf2e8b"},{"introduced":"f6a8fb685d44e387435825e3a96809eeda4973a6"},{"fixed":"a29fe6f87bbba6453e9d488ab8a8145a8a9e4f96"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"4.0.0"},{"fixed":"4.18.9"}]},{"range":[{"introduced":"5.0.0"},{"fixed":"5.11.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123489.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"}]}