{"id":"CVE-2026-123489","state":"PUBLISHED","title":"Craft CMS 4.0.0 before 4.18.9 Blind SQL Injection via getNext/getPrev Criteria","description":"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.","publishedAt":"2026-11-06T15:00:50.770Z","updatedAt":"2026-11-06T17:20:51.173Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["craftcms cms"],"affected":[{"vendor":"craftcms","product":"cms","defaultStatus":"unaffected","versions":[{"version":"4.0.0","status":"affected","lessThan":"4.18.9","versionType":"semver"},{"version":"4.18.9","status":"unaffected","versionType":"semver"}]},{"vendor":"craftcms","product":"cms","defaultStatus":"unaffected","versions":[{"version":"5.0.0","status":"affected","lessThan":"5.11.2","versionType":"semver"},{"version":"5.11.2","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/craftcms/cms/security/advisories/GHSA-f6gf-r952-rxg6","https://www.vulncheck.com/advisories/craft-cms-4.0.0-before-4.18.9-blind-sql-injection-via-getnext-getprev-criteria"],"weaknesses":["CWE-89"],"ingestedAt":"2026-11-06T17:30:06.328Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/123xxx/CVE-2026-123489.json","commit":"94b931eb4e5ef815dda4b36060959fc8a92a73dd","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123489","state":"PUBLISHED","datePublished":"2026-11-06T15:00:50.770Z","dateUpdated":"2026-11-06T17:20:51.173Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-06T00:44:37.658Z"},"containers":{"cna":{"title":"Craft CMS 4.0.0 before 4.18.9 Blind SQL Injection via getNext/getPrev Criteria","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"craftcms","product":"cms","defaultStatus":"unaffected","versions":[{"version":"4.0.0","status":"affected","lessThan":"4.18.9","versionType":"semver"},{"version":"4.18.9","status":"unaffected","versionType":"semver"}]},{"vendor":"craftcms","product":"cms","defaultStatus":"unaffected","versions":[{"version":"5.0.0","status":"affected","lessThan":"5.11.2","versionType":"semver"},{"version":"5.11.2","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-f6gf-r952-rxg6","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-f6gf-r952-rxg6)"},{"url":"https://www.vulncheck.com/advisories/craft-cms-4.0.0-before-4.18.9-blind-sql-injection-via-getnext-getprev-criteria","name":"VulnCheck Advisory: Craft CMS 4.0.0 before 4.18.9 Blind SQL Injection via getNext/getPrev Criteria","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS"},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-06T15:00:50.770Z"},"datePublic":"2026-10-22T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0.0","versionEndExcluding":"4.18.9"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.11.2"}]}]}],"credits":[{"lang":"en","value":"0xkalawy","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-06T17:20:29.974576Z","id":"CVE-2026-123489","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-06T17:20:51.173Z"}}]}}}