Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-66396— ChurchCRM has SQL Injection in User Editor via `type` Parameter Key

Quick assessment

Affected
ChurchCRM CRM
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ChurchCRM是ChurchCRM开源的一个为教会打造的开源 CRM 系统。 ChurchCRM 6.5.3之前版本存在SQL注入漏洞,该漏洞源于src/UserEditor.php文件中type参数数组键清理或类型转换不足,可能导致SQL注入攻击。

CVSS 7.2 · High EPSS 0.41% · P33
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-66396

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ChurchCRM has SQL Injection in User Editor via `type` Parameter Key
Source: CVE Program / CVE List V5
Vulnerability Description
ChurchCRM is an open-source church management system. Prior to version 6.5.3, a SQL injection vulnerability exists in the `src/UserEditor.php` file. When an administrator saves a user's configuration settings, the keys of the `type` POST parameter array are not properly sanitized or type-casted before being used in multiple SQL queries. This allows a malicious or compromised administrator account to execute arbitrary SQL commands, including time-based blind SQL injection attacks, to directly interact with the database. The vulnerability is located in `src/UserEditor.php` within the logic that handles saving user-specific configuration settings. The `type` parameter from the POST request is processed as an array. The code iterates through this array and uses `key($type)` to extract the array key, which is expected to be a numeric ID. This key is then assigned to the `$id` variable. The `$id` variable is subsequently concatenated directly into a `SELECT` and an `UPDATE` SQL query without any sanitization or validation, making it an injection vector. Although the vulnerability requires administrator privileges to exploit, it allows a malicious or compromised admin account to execute arbitrary SQL queries. This can be used to bypass any application-level logging or restrictions, directly manipulate the database, exfiltrate, modify, or delete all data (including other user credentials, financial records, and personal information), and could potentially lead to further system compromise, such as writing files to the server, depending on the database's configuration and user privileges. Version 6.5.3 patches the issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
ChurchCRM SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ChurchCRM是ChurchCRM开源的一个为教会打造的开源 CRM 系统。 ChurchCRM 6.5.3之前版本存在SQL注入漏洞,该漏洞源于src/UserEditor.php文件中type参数数组键清理或类型转换不足,可能导致SQL注入攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
ChurchCRM CRM < 6.5.3 -

II. Public POCs for CVE-2025-66396

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-66396

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-66396 (1)

Same Patch Batch · ChurchCRM · 2025-12-17 · 15 CVEs total

CVE-2025-62521 10.0 CRITICAL ChurchCRM has unauthenticated RCE in its Install Wizard
CVE-2025-68110 10.0 CRITICAL ChurchCRM discloses database information on error message
CVE-2025-68112 9.6 CRITICAL ChurchCRM has SQL injection in EditEventAttendees.php
CVE-2025-68109 9.1 CRITICAL ChurchCRM vulnerable to RCE with database restore functionality
CVE-2025-66395 8.8 HIGH SQL Injection in Event List via `WhichType` Parameter
CVE-2025-66397 8.3 HIGH ChurchCRM's Kiosk Manager Functions are vulnerable to Broken Access Control
CVE-2025-68111 7.2 HIGH ChurchCRM has SQL Injection in eGive Import Feature
CVE-2025-67876 ChurchCRM has Stored XSS in Group Role Name Leading to Admin Session Hijacking
CVE-2025-67875 ChurchCRM has stored XSS via Person Property Assignment Leading to Admin Session Hijacking
CVE-2025-67877 ChurchCRM SQL Injection Vulnerability
CVE-2025-68399 ChurchCRM has Stored Cross-Site Scripting (XSS) In GroupEditor.php
CVE-2025-68401 ChurchCRM has Stored Cross-Site Scripting (XSS) vulnerability that leads to session theft
CVE-2025-68400 ChurchCRM vulnerable to time-based blind SQL Injection in ConfirmReportEmail.php
CVE-2025-68275 ChurchCRM vulnerable to Stored XSS - Group name > Person Listing

IV. Related Vulnerabilities

V. Comments for CVE-2025-66396

No comments yet


Leave a comment