# CVE-2026-39340: ChurchCRM has a SQL Injection in PropertyTypeEditor.php via Incorrect Sanitizer Substitution

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-07T18:00:09.383Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ChurchCRM CRM: < 7.1.0
- churchcrm churchcrm: before 7.1.0

## References

- <https://github.com/ChurchCRM/CRM/security/advisories/GHSA-66f7-4p96-mww9> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2026-39340](https://www.cve.org/CVERecord?id=CVE-2026-39340), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-39340](https://nvd.nist.gov/vuln/detail/CVE-2026-39340), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-39340 · Whole record: https://cve.day/CVE-2026-39340.json · Rebuilt by cve.day 2026-11-25T22:59:18.152Z
