Skip to main content

ChurchCRM CVE-2025-67751

HIGH
SQL Injection (CWE-89)
2025-12-16 security-advisories@github.com
7.2
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with isAddEvent permission
  2. Delivery
    Submit crafted EN_tyid in EventEditor POST
  3. Exploit
    Injected SQL concatenated into type_id query
  4. Execution
    Database executes attacker SQL
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (github) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche open-source church management software, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:*
CVE-2025-68109 HIGH POC
7.2 Dec 17

Remote code execution in ChurchCRM versions prior to 6.5.3 allows an authenticated administrator to upload a web shell t

CVE-2024-25897 CRITICAL POC
9.8 Feb 21

ChurchCRM 5.5.0 FRCatalog.php is vulnerable to Blind SQL Injection (Time-based) via the CurrentFundraiser GET parameter.

CVE-2024-25894 CRITICAL POC
9.8 Feb 21

ChurchCRM 5.5.0 /EventEditor.php is vulnerable to Blind SQL Injection (Time-based) via the EventCount POST parameter. Ra

CVE-2025-1023 CRITICAL POC
9.3 Feb 18

A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit

CVE-2025-1135 CRITICAL POC
9.3 Feb 19

A vulnerability exists in ChurchCRM 5.13.0. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitab

CVE-2025-1134 CRITICAL POC
9.3 Feb 19

A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit

CVE-2025-1133 CRITICAL POC
9.3 Feb 19

A vulnerability exists in ChurchCRM 5.13.0 and prior that allows an attacker to execute arbitrary SQL queries by exploit

CVE-2025-1132 CRITICAL POC
9.3 Feb 19

A time-based blind SQL Injection vulnerability exists in the ChurchCRM 5.13.0 and prior EditEventAttendees.php within th

CVE-2026-39339 CRITICAL POC
9.1 Apr 07

Authentication bypass in ChurchCRM API middleware enables unauthenticated remote attackers to access all protected endpo

CVE-2024-25893 CRITICAL POC
9.1 Feb 21

ChurchCRM 5.5.0 FRCertificates.php is vulnerable to Blind SQL Injection (Time-based) via the CurrentFundraiser GET param

CVE-2026-24854 HIGH POC
8.8 Jan 30

Authenticated SQL injection in ChurchCRM's PaddleNumEditor.php endpoint prior to version 6.7.2 allows any logged-in user

CVE-2024-39304 HIGH POC
8.8 Jul 26

ChurchCRM is an open-source church management system. Rated high severity (CVSS 8.8), this vulnerability is remotely exp

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy