CVE-2026-40593: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ChurchCRM CRM
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.
AI Analysis
Technical Summary
CVE-2026-40593 is a stored cross-site scripting vulnerability in ChurchCRM's UserEditor.php prior to version 7.2.0. The issue arises because usernames are rendered directly into an HTML input value attribute without applying htmlspecialchars(), enabling injection of HTML attribute-breaking characters and event handlers. An attacker with administrator privileges can save a crafted username that triggers script execution in the browsers of other administrators viewing the user editor page. This vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-116 (Improper Encoding or Escaping of Output). The vulnerability has a CVSS 3.1 base score of 4.8 (medium severity).
Potential Impact
Successful exploitation allows an administrator to execute arbitrary JavaScript in the context of other administrators' browsers when they view the user editor page. This can lead to limited confidentiality and integrity impacts such as session hijacking or unauthorized actions performed with administrator privileges. There is no direct availability impact. The vulnerability requires administrator privileges to inject the payload and user interaction (viewing the user editor page) to trigger execution.
Mitigation Recommendations
This vulnerability has been fixed in ChurchCRM version 7.2.0. Users should upgrade to version 7.2.0 or later to remediate this issue. No official patch or temporary fix is indicated other than upgrading. Until upgraded, administrators should be cautious about usernames containing unusual characters and restrict administrator access to trusted users only.
CVE-2026-40593: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ChurchCRM CRM
Description
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.
CVSS v3.1
Score 4.8medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40593 is a stored cross-site scripting vulnerability in ChurchCRM's UserEditor.php prior to version 7.2.0. The issue arises because usernames are rendered directly into an HTML input value attribute without applying htmlspecialchars(), enabling injection of HTML attribute-breaking characters and event handlers. An attacker with administrator privileges can save a crafted username that triggers script execution in the browsers of other administrators viewing the user editor page. This vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-116 (Improper Encoding or Escaping of Output). The vulnerability has a CVSS 3.1 base score of 4.8 (medium severity).
Potential Impact
Successful exploitation allows an administrator to execute arbitrary JavaScript in the context of other administrators' browsers when they view the user editor page. This can lead to limited confidentiality and integrity impacts such as session hijacking or unauthorized actions performed with administrator privileges. There is no direct availability impact. The vulnerability requires administrator privileges to inject the payload and user interaction (viewing the user editor page) to trigger execution.
Mitigation Recommendations
This vulnerability has been fixed in ChurchCRM version 7.2.0. Users should upgrade to version 7.2.0 or later to remediate this issue. No official patch or temporary fix is indicated other than upgrading. Until upgraded, administrators should be cautious about usernames containing unusual characters and restrict administrator access to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-14T14:07:59.641Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e389f6bdfbbecc59765137
Added to database: 4/18/2026, 1:41:10 PM
Last enriched: 4/26/2026, 2:43:08 AM
Last updated: 6/1/2026, 9:12:42 PM
Views: 77
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.