8.8high
SQL Injection in Event List via `WhichType` Parameter
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
ChurchCRM is an open-source church management system. Prior to version 6.5.3, a SQL injection vulnerability exists in the `src/ListEvents.php` file. When filtering events by type, the `WhichType` POST parameter is not properly sanitized or type-casted before being used in multiple SQL queries. This allows any authenticated user to execute arbitrary SQL commands, including time-based blind SQL injection attacks. Any authenticated user, regardless of their privilege level, can execute arbitrary queries on the database. This could allow them to exfiltrate, modify, or delete any data in the database, including user credentials, financial data, and personal information, leading to a full compromise of the application's data. Version 6.5.3 fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ChurchCRM CRM | < 6.5.3 | CVE List |
| churchcrm churchcrm | before 6.5.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
| https://github.com/ChurchCRM/CRM/security/advisories/GHSA-c9xf-f3gr-xfwv | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-66395 changed 2025-12-17 | CVE Terms of Use |
| NVD | CVE-2025-66395 changed 2026-06-17 | Public domain |