ChurchCRM
CVE-2025-67751
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with isAddEvent permission
-
DeliverySubmit crafted EN_tyid in EventEditor POST
-
ExploitInjected SQL concatenated into type_id query
-
ExecutionDatabase executes attacker SQL
-
ImpactExfiltrate or tamper with database records
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 ChurchCRM account holding the event-management permission (isAddEvent) on a version prior to 6.5.0. The specific trigger is creating/editing an event and supplying a malicious value in the EN_tyid POST parameter, which is injected into the event_types type_id lookup in EventEditor.php. Limiting factors: exploitation is gated by valid authentication plus the isAddEvent capability (not anonymous), and the flaw is fully remediated in 6.5.0, so patched or default-deny role configurations are not exploitable. No user interaction by a victim is needed beyond the attacker's own authenticated session. |
| Impact | This is a genuine but not top-priority issue. The provided CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, base 7.2 HIGH) describes a network-reachable, low-complexity SQL injection with full confidentiality, integrity and availability impact on the database, but it requires privileges (PR:H). Publicly available exploit code exists (referenced GitHub Security Advisory GHSA-wxcc-gvfv-56fg), and the source diff confirms the root cause - unparameterized concatenation of the EN_tyid value into 'SELECT * FROM event_types WHERE type_id=$tyid'. However, this is NOT confirmed actively exploited: no CISA KEV entry is present in the input, and no EPSS score was supplied, so widespread automated exploitation cannot be asserted. A key caveat: the CVSS vector encodes PR:H, yet the description ties exploitation to a granular 'event management permission (isAddEvent)' rather than full administrative access - this reads closer to PR:L, which would raise real-world risk somewhat because that permission is likely held by more than just administrators. Verify the actual privilege boundary of isAddEvent against the vendor role model. Overall: a credible authenticated SQLi in a niche product with a public PoC - patch it, but it does not carry the urgency of an unauthenticated internet-facing flaw. |
| Exploit ScenarioDerived | An authenticated ChurchCRM user who holds event-management (isAddEvent) permission opens the new-event editor, selects an event type, and submits a crafted EN_tyid POST parameter containing SQL syntax, which is concatenated directly into the type_id query. A public exploit referenced in the GitHub advisory demonstrates this, allowing the attacker to read or modify arbitrary database contents (member records, credentials, financial data). Because the attacker already has a valid low-to-mid privilege account, the main barrier is obtaining or abusing such an account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
An authenticated SQL injection in ChurchCRM before 6.5.0 lets a user who holds the event-management permission (isAddEvent) execute arbitrary SQL by supplying a crafted EN_tyid parameter while creating or editing an event in EventEditor.php. Exploitation is gated by a valid login plus that specific capability rather than being reachable anonymously, but it yields full confidentiality, integrity, and availability impact on the backend database once triggered. Publicly available exploit code exists, and the flaw is fully remediated in ChurchCRM 6.5.0; there is no indication of confirmed active exploitation (not in CISA KEV).
RemediationAI
Upgrade to ChurchCRM 6.5.0, which is the vendor-released patch that fixes this issue; the corresponding upstream fix is commit 2d6cf7aed9af1b9b47e125d1a2266f8e2a88f3fd and the tracking advisory is GHSA-wxcc-gvfv-56fg at https://github.com/ChurchCRM/CRM/security/advisories/GHSA-wxcc-gvfv-56fg. If an immediate upgrade is not possible, treat the affected code as unsafe and apply compensating controls with their trade-offs understood: (1) revoke the isAddEvent capability from all but the smallest, most trusted set of accounts, since exploitation requires that permission - this closes the practical attack path but blocks legitimate event managers from creating events; (2) apply a WAF or reverse-proxy rule that rejects or normalizes EN_tyid values which are not purely numeric on requests to EventEditor.php, which stops the common payload forms but can be bypassed and may break legitimate submissions if the rule is too strict; and (3) constrain the ChurchCRM database account to the least privileges it needs (no DDL, no FILE, no access to unrelated schemas), which limits how far an injected statement can reach but does not prevent data disclosure from the application's own tables. Because publicly available exploit code exists, prioritize any internet-facing or multi-tenant deployment for patching first, and review database and web logs for anomalous EventEditor.php requests or unexpected SQL in POST bodies as a detection measure.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The defect is a classic CWE-89 SQL injection arising from string-concatenated SQL in PHP. In EventEditor.php the application built the query "SELECT * FROM event_types WHERE type_id=$tyid" and passed it straight to RunQuery()/mysqli, so the EN_tyid POST value was interpolated into the SQL text without parameterization or type casting. Because the injected value lands in a bare numeric context in the WHERE clause, an attacker can break out of the predicate and append arbitrary SQL (e.g. UNION/boolean/stacked statements), enabling read and modification of any table the ChurchCRM database user can reach - including members, donations, families, and user/credential tables. ChurchCRM is an open-source PHP/MySQL church management system, and the CPE cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:* applies to all releases below the fixed build. The vendor fix (commit 2d6cf7aed9af1b9b47e125d1a2266f8e2a88f3fd) removes the raw string SQL entirely and replaces it with the Propel ORM (EventTypeQuery::create()->findById((int)$tyid) and EventCountNamesQuery), which both parameterizes the query and casts the identifier to an integer. The same commit hardens several sibling code paths (FamilyCustomFieldsEditor.php, PersonCustomFieldsEditor.php, SystemSettings.php) that used similar raw-SQL concatenation and a password-default disclosure issue, indicating a broader pattern of unsafe query construction in this codebase.
Know when Churchcrm 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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Network-reachable HTTP parameter (AV:N) with trivial injection (AC:L); isAddEvent is a granular non-admin permission so PR:L rather than PR:H; SQLi yields full DB C/I/A.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
ChurchCRM is an open-source church management system. Prior to version 6.5.0, a SQL injection vulnerability exists in the EventEditor.php file. When creating a new event and selecting an event type, the EN_tyid POST parameter is not sanitized. This allows an authenticated user with event management permissions (isAddEvent) to execute arbitrary SQL queries. Version 6.5.0 fixes the issue.
Executive ViewAI
ChurchCRM deployments before 6.5.0 are exposed to a high-severity SQL injection that can let a user with event-management permissions compromise the backend database. This creates risk of unauthorized data access, modification, or loss, potentially disrupting event operations and affecting trust in the system. Leadership should prioritize remediation because publicly available exploit code exists and the flaw is fully fixed in ChurchCRM 6.5.0.
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.
Affected Products (CPE)CVE.org
Remote code execution in ChurchCRM versions prior to 6.5.3 allows an authenticated administrator to upload a web shell t
ChurchCRM 5.5.0 FRCatalog.php is vulnerable to Blind SQL Injection (Time-based) via the CurrentFundraiser GET parameter.
ChurchCRM 5.5.0 /EventEditor.php is vulnerable to Blind SQL Injection (Time-based) via the EventCount POST parameter. Ra
A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit
A vulnerability exists in ChurchCRM 5.13.0. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitab
A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit
A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit
A time-based blind SQL Injection vulnerability exists in the ChurchCRM 5.13.0 and prior EditEventAttendees.php within th
Authentication bypass in ChurchCRM API middleware enables unauthenticated remote attackers to access all protected endpo
ChurchCRM 5.5.0 FRCertificates.php is vulnerable to Blind SQL Injection (Time-based) via the CurrentFundraiser GET param
Authenticated SQL injection in ChurchCRM's PaddleNumEditor.php endpoint prior to version 6.7.2 allows any logged-in user
ChurchCRM is an open-source church management system. Rated high severity (CVSS 8.8), this vulnerability is remotely exp
NVD
CVE.org
EPSS
GitHub
Exploit-DB