Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Craft control panel
-
DeliveryCraft malicious elementIds criteria array
-
ExploitPass orderBy/where via getNext()/getPrev()
-
ExecutionBypass cleanseConfig sanitization
-
PersistExecute raw SQL via ids()
-
ImpactInfer database contents through conditional oracle
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Craft control panel user account (PR:L) and the Twig sandbox code path that renders the attacker's elementIds value as a sandboxed object template on the relational-condition request path - the specific feature that exposes getNext() and getPrev() via AllowedInSandbox. Exploitation works against affected versions (4.0.0 before 4.18.9, 5.0.0 before 5.11.2) because ComponentHelper::cleanseConfig() fails to strip SQL-bearing element-query properties (orderBy, where, having, join, select); a value with an opening parenthesis is preserved by Yii as a raw order expression and executed by ids(). Limiting factors: the attacker must already have valid control panel credentials (no anonymous access), impact is a confidentiality oracle under the Craft DB account rather than direct write/RCE, and the only complete fix per the vendor is updating to 4.18.9 or 5.11.2. |
| Impact | This is a real but bounded priority, not a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N) scores 7.1 and is internally consistent with the description: network-reachable, low complexity, but requiring authenticated access (PR:L) to the Craft control panel, which materially narrows the attacker population to users who already hold a valid CP account. The dominant impact is confidentiality (VC:H) via a conditional SQL oracle; integrity is only low (VI:L) and availability is none (VA:N), matching a blind-injection read primitive rather than data destruction or RCE. No EPSS score, no CISA KEV listing, and no SSVC automatable/exploitation fields were supplied, so widespread automated exploitation cannot be inferred from the data. The vuln.today decision label is 'this_week' and the report comes from VulnCheck, indicating credible analyst attention rather than confirmed mass exploitation. In short: authentication requirement plus confidentiality-only impact keep this below critical, but a working, vendor-confirmed injection primitive against a known CMS warrants prompt patching within the vendor's and aggregator's suggested week-level window. |
| Exploit ScenarioDerived | An attacker who already holds any authenticated Craft control panel account issues a relational-condition request whose elementIds value is rendered as a sandboxed template, invoking the sandbox-exposed getNext()/getPrev() methods with a crafted criteria array containing a SQL-bearing property such as orderBy. Because cleanseConfig() does not strip these properties, the raw order expression is passed through Craft::configure() and executed when the element query calls ids(), yielding a conditional true/false SQL oracle under the Craft database account. No public exploit code is identified, and the attack requires valid CP credentials, but the trigger path is fully described in the vendor advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Blind SQL injection in Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 lets an authenticated control panel user obtain a conditional SQL oracle under the Craft database account by supplying crafted elementIds through the sandboxed getNext()/getPrev() template path. The flaw is caused by insufficient cleansing of SQL-bearing criteria such as orderBy, where, having, join, and select before Craft::configure(), and the assessed impact is high confidentiality with limited integrity impact. The risk is a real but bounded priority rather than a drop-everything emergency; no public exploit was identified at time of analysis, and fixed versions are 4.18.9 and 5.11.2.
RemediationAI
Apply the vendor fix by updating Craft CMS to 4.18.9 for the 4.x branch or 5.11.2 for the 5.x branch; the GHSA-f6gf-r952-rxg6 advisory states updating is the only complete fix. No patch-level workaround is documented in the available sources. Because exploitation requires an authenticated control panel account, reducing control panel access to trusted users limits exposure until the update is deployed, but this is a compensating step and not a substitute for the fix. Advisory: https://github.com/craftcms/cms/security/advisories/GHSA-f6gf-r952-rxg6.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Craft CMS is a PHP-based content management system that uses Twig templating and Yii's query builder. The relational-condition request path renders an attacker-controlled elementIds value as a sandboxed object template, exposing getNext() and getPrev() through AllowedInSandbox. Those methods accept an arbitrary criteria array and pass it to Craft::configure() after ComponentHelper::cleanseConfig(), which removes event and behavior keys but does not remove SQL-bearing element-query properties such as orderBy, where, having, join, or select. A value containing an opening parenthesis is preserved by Yii as a raw order expression and executed when the relative-element query calls ids(), yielding a blind SQL injection (CWE-89) under the Craft database account. The affected package is composer/craftcms/cms, matching CPE cpe:2.3:a:craftcms:cms.
Know when Cms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable control panel endpoint with low complexity, but requires an authenticated CP account (PR:L); impact is a confidentiality oracle (C:H) with limited integrity and no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-89 (SQL injection).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Craft CMS versions 4.0.0 to 4.18.8 and 5.0.0 to 5.11.1 contain a high-severity blind SQL injection flaw that requires an authenticated control panel user to exploit. This could allow a malicious insider or compromised account to extract sensitive data from the underlying database, affecting data confidentiality. While no public exploit exists, the risk is real and warrants prioritized patching, especially for organizations with many CMS editors.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Cayin CMS suffers from an authenticated OS semi-blind command injection vulnerability using default credentials. Rated c
Multiple integer underflows in the icmLut_allocate function in International Color Consortium (ICC) Format library (iccl
phpKF CMS 3.00 Beta allows unauthenticated PHP file upload by disguising it as a PNG, then renaming it for execution. Po
Deserialization of Untrusted Data in the Sitecore.Security.AntiCSRF (aka anti CSRF) module in Sitecore CMS 7.0 to 7.2 an
Unauthenticated SQL injection in Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 allows remote attackers to read a
Deserialization of Untrusted Data in the anti CSRF module in Sitecore through 9.1 allows an authenticated attacker to ex
Unauthenticated file disclosure in LavaLite CMS through 10.1.2 allows remote attackers to download private stored files
Authenticated remote code execution in Craft CMS versions 5.5.0 through 5.9.13 allows admin users to execute arbitrary P
SQL injection vulnerability in hava_post.php in Havalite CMS 1.1.0 and earlier allows remote attackers to execute arbitr
Unrestricted file upload vulnerability in hava_upload.php in Havalite CMS 1.1.0 and earlier allows remote attackers to e
Cross-site request forgery (CSRF) vulnerability in Ilch CMS allows remote attackers to hijack the authentication of admi
Multiple cross-site scripting (XSS) vulnerabilities in Havalite 1.0.4 and earlier allow remote attackers to inject arbit
EUVD-2026-118289
GHSA-w2f7-mc8w-f637
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB