What’s Vulnerable › Vulnerabilities
CVE-2025-66395: SQL Injection in Event List via `WhichType` Parameter
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-12-17 · updated 2026-06-17
- Weakness: CWE-89
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 products
- ChurchCRM CRM: before 6.5.3 — fixed in 6.5.3
How to fix
Upgrade to a fixed version: ChurchCRM CRM 6.5.3. Check the vendor advisory for mitigations.
References
- https://github.com/ChurchCRM/CRM/security/advisories/GHSA-c9xf-f3gr-xfwv
- https://github.com/ChurchCRM/CRM/security/advisories/GHSA-c9xf-f3gr-xfwv
Get alerted when CVE-2025-66395 or the next vulnerability affects your stack