CVE-2025-66395 SQL Injection in Event List via `WhichType` Parameter
Authenticated users can execute arbitrary SQL commands via the WhichType parameter, allowing full database compromise including data exfiltration and modification.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-66395?
CVE-2025-66395 is a high-severity SQL injection vulnerability in Churchcrm Churchcrm, published on 17 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2025-66395?
It affects 1 product.
Products include Churchcrm Churchcrm.
How do I fix CVE-2025-66395?
No fix has been published for CVE-2025-66395 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-66395 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-66395 exists.
Other vulnerabilities in Churchcrm Churchcrm
Sources
Also known as GHSA-c9xf-f3gr-xfwv.