Read the docs
TI-2025-40833 Aliases CVE-2025-66396

ChurchCRM has SQL Injection in User Editor via `type` Parameter Key

Priority HIGH 67CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.

Summary

ChurchCRM is an open-source church management system. Prior to version 6.5.3, a SQL injection vulnerability exists in the `src/UserEditor.php` file. When an administrator saves a user's configuration settings, the keys of the `type` POST parameter array are not properly sanitized or type-casted before being used in multiple SQL queries. This allows a malicious or compromised administrator account to execute arbitrary SQL commands, including time-based blind SQL injection attacks, to directly interact with the database. The vulnerability is located in `src/UserEditor.php` within the logic that handles saving user-specific configuration settings. The `type` parameter from the POST request is processed as an array. The code iterates through this array and uses `key($type)` to extract the array key, which is expected to be a numeric ID. This key is then assigned to the `$id` variable. The `$id` variable is subsequently concatenated directly into a `SELECT` and an `UPDATE` SQL query without any sanitization or validation, making it an injection vector. Although the vulnerability requires administrator privileges to exploit, it allows a malicious or compromised admin account to execute arbitrary SQL queries. This can be used to bypass any application-level logging or restrictions, directly manipulate the database, exfiltrate, modify, or delete all data (including other user credentials, financial records, and personal information), and could potentially lead to further system compromise, such as writing files to the server, depending on the database's configuration and user privileges. Version 6.5.3 patches the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00411 35th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed CRM (ChurchCRM): 6.5.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ChurchCRMCRMbefore 6.5.36.5.3Patch availableCNA
  • CRM VendorChurchCRM Affected before 6.5.3 Fixed in 6.5.3 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:*before 6.5.3VulnerableChurchCRM
  • cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:* Versions before 6.5.3 Vulnerable ·ChurchCRM

Remediation

  • Fix · CNA CRM (ChurchCRM) Fixed in 6.5.3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-66396

References

  • TI-2026-28325 ChurchCRM Affected by Unauthenticated RCE in Install Wizard CVSS 3.1CRITICAL 10.0
  • TI-2025-38761 ChurchCRM has unauthenticated RCE in its Install Wizard CVSS 3.1CRITICAL 10.0
  • TI-2024-35802 EventAttendance.php in ChurchCRM 5.7.0 is vulnerable to SQL injection. CVSS 3.1CRITICAL 9.8
  • TI-2024-16997 ChurchCRM 5.5.0 /EventEditor.php is vulnerable to Blind SQL Injection (Time-based) via the EventCount POST parameter. CVSS 3.1CRITICAL 9.8
  • TI-2025-41969 ChurchCRM vulnerable to time-based blind SQL Injection in ConfirmReportEmail.php CVSS 4.0CRITICAL 9.3
  • TI-2025-00963 SQL Injection in ChurchCRM CurrentFundraiser Parameter via BatchWinnerEntry.php CVSS 4.0CRITICAL 9.3
See all 109 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences