CVE-2026-39340 Details
Description
ChurchCRM is an open-source church management system. Prior to 7.1.0, a SQL injection vulnerability exists in PropertyTypeEditor.php, part of the administration functionality for managing property type categories (People → Person Properties / Family Properties). The vulnerability was introduced when legacyFilterInput() which both strips HTML and escapes SQL — was replaced with sanitizeText(), which strips HTML only. User-supplied values from the Name and Description fields are concatenated directly into raw INSERT and UPDATE queries with no SQL escaping. This allows any authenticated user with the MenuOptions role (a non-admin staff permission) to perform time-based blind injection and exfiltrate any data from the database, including password hashes of all users. This vulnerability is fixed in 7.1.0.
A SQL injection vulnerability has been identified in ChurchCRM versions 6.3.0 through 7.0.5. The issue resides in PropertyTypeEditor.php, within the administration features for managing property type categories. The vulnerability was introduced when the input sanitization function legacyFilterInput(), which both removed HTML and escaped SQL, was replaced by sanitizeText(), which only removes HTML. This change allowed user-provided data in the Name and Description fields to be directly concatenated into SQL INSERT and UPDATE queries without proper escaping. As a result, any authenticated user with the MenuOptions role could execute time-based blind SQL injection, exfiltrating data from the database, including password hashes of all users.
Users are advised to update to ChurchCRM version 7.1.0, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ChurchCRM/CRM/security/advisories/GHSA-66f7-4p96-mww9 | CISA-ADP | Third Party Advisory |
| https://github.com/ChurchCRM/CRM/security/advisories/GHSA-66f7-4p96-mww9 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| churchcrm churchcrm | < 7.1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 9, 2026 | Initial Analysis | [email protected] |
| Apr 8, 2026 | CVE Modified | CISA-ADP |
| Apr 7, 2026 | New CVE Received | [email protected] |