ChurchCRM SQL Injection Vulnerability in Event Type Creation

Vulnerability

A SQL injection vulnerability exists in ChurchCRM versions prior to 7.1.0, specifically in the EventNames.php file. Authenticated users with AddEvent privileges can exploit this vulnerability by injecting SQL through the newEvtTypeCntLst parameter while creating event types. The issue arises because unescaped user input is directly interpolated into an SQL query that uses the ON DUPLICATE KEY UPDATE clause. This vulnerability allows for SQL execution manipulation, with the potential for timing-based exploitation and, depending on the database configuration, possible extraction of sensitive information.

Impact

Exploitation of this vulnerability allows for authenticated SQL injection, with confirmed manipulation of SQL queries and the potential for timing-based attacks. Depending on the database mode and payload used, there could be further impacts on data confidentiality and integrity.

Reproduction

To reproduce this vulnerability, an authenticated user with AddEvent privileges can create a new event through the EventNames.php page. After logging in, the user must assign themselves the necessary privileges if they do not already have them. Once on the EventNames.php page, the user can inject SQL payloads into the newEvtTypeCntLst parameter. After the event is saved, the injected SQL will be executed, demonstrating the vulnerability.

Remediation

Users should update to ChurchCRM version 7.1.0 or later, where this vulnerability has been fixed.

Added: Apr 7, 2026, 8:25 PM
Updated: Apr 7, 2026, 8:25 PM

Vulnerability Rating

Custom Algorithm
spread
1.9
impact
3.1
exploitability
6.6
remediation
7.7
relevance
5.4
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.