What’s Vulnerable › Vulnerabilities
CVE-2026-39340: ChurchCRM has a SQL Injection in PropertyTypeEditor.php via Incorrect Sanitizer Substitution
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-07 · updated 2026-10-26
- Weakness: CWE-89
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.
Affected products
- ChurchCRM CRM: before 7.1.0 — fixed in 7.1.0
How to fix
Upgrade to a fixed version: ChurchCRM CRM 7.1.0. Check the vendor advisory for mitigations.
References
- https://github.com/ChurchCRM/CRM/security/advisories/GHSA-66f7-4p96-mww9
- https://github.com/ChurchCRM/CRM/security/advisories/GHSA-66f7-4p96-mww9
Get alerted when CVE-2026-39340 or the next vulnerability affects your stack