CVE-2026-40593

MEDIUM CVSS 3.1: 4.8 EPSS 0.21%
Updated Oct 27, 2026
PHP
Parameter Value
CVSS 4.8 (MEDIUM)
Affected Versions before 7.2.0
Fixed In 7.2.0
Type CWE-79 (Cross-Site Scripting (XSS)), CWE-116 (Improper Encoding or Escaping of Output)
Vendor PHP
Public PoC No

ChurchCRM is an open-source church management system. In versions prior to 7.2.0, the User Editor (UserEditor.php) renders stored usernames directly into an HTML input value attribute without applying htmlspecialchars(). An administrator can save a username containing HTML attribute-breaking characters and event handlers, which execute in the browser of any administrator who subsequently views that user's editor page, resulting in stored XSS.

This issue has been fixed in version 7.2.0.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
High
Admin privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1