Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to EcclesiaCRM with low-priv account
-
DeliveryIdentify query with non-standard parameter type
-
ExploitCraft POST payload with SQL syntax
-
InstallSubmit to queryview.php default validation branch
-
C2str_replace injects payload into SQL
-
ExecuteDatabase executes attacker SQL
-
ImpactExfiltrate or modify CRM data
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 | The attacker must (1) reach the EcclesiaCRM web interface over the network, (2) hold valid authenticated credentials to the application (CVSS PR:L), and (3) target a saved query in the query view (src/v2/templates/query/queryview.php) whose parameter definition uses a validation type that falls into ValidateInput()'s default switch branch - standard 'int' and other handled types are not vulnerable. No user interaction by another party is required (UI:N), and exploitation is limited to deployments running EcclesiaCRM 8.0.0 or earlier with at least one query parameter declared with a non-standard validation type. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) reflects network-reachable, low-complexity exploitation requiring low privileges with full confidentiality, integrity, and availability impact on the database. However, multiple signals temper real-world urgency: EPSS is extremely low at 0.03% (9th percentile), the CVE is not on CISA KEV, and SSVC classifies exploitation as only 'poc' with Automatable=no despite Technical Impact=total. The PR:L requirement means an attacker must already hold a valid EcclesiaCRM account with access to the query view, which materially narrows the threat to insiders or attackers who have compromised credentials. Combined with EcclesiaCRM's niche deployment footprint (small church installations), this is a real but lower-priority issue for organizations running the product - not a 'high-CVSS-but-no-risk' case, but also not internet-scanned mass-exploitation material. |
| Exploit ScenarioDerived | An attacker with a low-privileged EcclesiaCRM account (or stolen credentials) navigates to the query view and submits a POST request to a saved query whose parameter is declared with a non-standard validation type. By placing SQL payload syntax in that parameter's POST value, the attacker causes str_replace to inject arbitrary SQL into the executed statement - exfiltrating member PII, modifying donation records, or dumping the entire database. No public exploit code has been identified, but the patch diff itself effectively documents the vulnerable code path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
SQL injection in EcclesiaCRM 8.0.0 and earlier allows authenticated remote attackers to execute arbitrary SQL queries through the query view feature. The flaw stems from an incomplete fix for CVE-2026-35184: the ValidateInput() function's default case passes user-supplied POST parameters directly into str_replace-based SQL construction without sanitization when non-standard validation types are used. No public exploit identified at time of analysis, and EPSS rates exploitation likelihood at just 0.03%.
RemediationAI
Upstream fix available (commit f743b97f89da469a4c70b82bd61d0a59a3a957a9); released patched version not independently confirmed from the provided data - administrators should pull the latest main branch or any release tagged after this commit and consult the GHSA advisory at https://github.com/phili67/ecclesiacrm/security/advisories/GHSA-vmgq-gpf9-mjjj for tagged release guidance. The patch funnels every validation branch through InputUtils::LegacyFilterInput() and restricts raw SQL display to admins, so cherry-picking the diff into src/v2/templates/query/queryview.php is a viable interim option for operators who cannot upgrade immediately. As compensating controls until patched, restrict access to the /query/queryview.php endpoint via web server ACLs or reverse-proxy rules (side effect: blocks legitimate report users), audit and remove non-admin accounts that have query-execution privileges (side effect: removes reporting capability for those users), and enable database-level least-privilege so the EcclesiaCRM database user cannot execute schema changes or read sensitive cross-schema tables (side effect: may break legitimate admin queries that rely on broader grants).
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
EcclesiaCRM is an open-source PHP-based church management CRM maintained by phili67 (CPE cpe:2.3:a:phili67:ecclesiacrm). The vulnerability is a classic CWE-89 (SQL Injection) located in src/v2/templates/query/queryview.php within the ValidateInput() function. When a query parameter declares a validation type that is not explicitly handled, the default switch branch previously assigned the raw $POST value to $vPOST[$qrp_Alias], which was then interpolated into the SQL template via str_replace. The upstream commit f743b97 routes all branches through InputUtils::LegacyFilterInput() and gates SQL display behind isAdmin() checks, confirming the root cause was missing input filtering in the default validation path - a regression from the original CVE-2026-35184 remediation.
Know when Ecclesiacrm 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:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
EcclesiaCRM is CRM Software for church management. In 8.0.0 and earlier, the ValidateInput() function's default case in EcclesiaCRM's query view passes user-supplied POST parameters directly into SQL queries via str_replace without any sanitization, enabling SQL injection through query parameters that use non-standard validation types. This is caused by an incomplete fix for CVE-2026-35184.
Executive ViewAI
SQL injection in EcclesiaCRM 8.0.0 and earlier allows authenticated users to execute arbitrary database queries through the query view feature, potentially exposing member records, financial data, and sensitive church operations information. Organizations running affected versions should immediately restrict feature access and implement mitigations, as no vendor patch is currently available.
Restrict database user account to read-only or minimal-privilege access if operational requirements allow; implement strict role-based access control limiting query view to single trusted administrator; apply input validation beyond ValidateInput() function using whitelist-based validation; enable real-time database activity monitoring and alerting; segregate vulnerable application instances on restricted network with limited authentication token lifespan.
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.
EUVD-2026-30169
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB