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 vulnerability occurs because usernames are output into an HTML input value attribute without applying htmlspecialchars() or equivalent encoding, enabling injection of HTML attribute-breaking characters and event handlers. An administrator can exploit this by saving a crafted username that triggers script execution in the browsers of other administrators viewing the user editor page. The vulnerability has been addressed in ChurchCRM version 7.2.0.
Potential Impact
Successful exploitation allows an attacker with administrator privileges to execute arbitrary scripts in the browsers of other administrators who view the compromised user's editor page. This can lead to theft of session tokens, manipulation of the web interface, or other actions permitted by the victim administrator's privileges. The CVSS 3.1 base score is 4.8 (medium severity), reflecting limited impact due to the requirement for administrator privileges and user interaction.
Mitigation Recommendations
Upgrade ChurchCRM to version 7.2.0 or later, where this vulnerability has been fixed by properly encoding usernames before rendering them in HTML. Since no official patch link or vendor advisory is provided, verify the upgrade from the official ChurchCRM release notes or repository. Until upgraded, restrict administrator access and avoid viewing user editor pages with untrusted usernames.
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.
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 vulnerability occurs because usernames are output into an HTML input value attribute without applying htmlspecialchars() or equivalent encoding, enabling injection of HTML attribute-breaking characters and event handlers. An administrator can exploit this by saving a crafted username that triggers script execution in the browsers of other administrators viewing the user editor page. The vulnerability has been addressed in ChurchCRM version 7.2.0.
Potential Impact
Successful exploitation allows an attacker with administrator privileges to execute arbitrary scripts in the browsers of other administrators who view the compromised user's editor page. This can lead to theft of session tokens, manipulation of the web interface, or other actions permitted by the victim administrator's privileges. The CVSS 3.1 base score is 4.8 (medium severity), reflecting limited impact due to the requirement for administrator privileges and user interaction.
Mitigation Recommendations
Upgrade ChurchCRM to version 7.2.0 or later, where this vulnerability has been fixed by properly encoding usernames before rendering them in HTML. Since no official patch link or vendor advisory is provided, verify the upgrade from the official ChurchCRM release notes or repository. Until upgraded, restrict administrator access and avoid viewing user editor pages with untrusted usernames.
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/18/2026, 1:53:31 PM
Last updated: 4/19/2026, 5:59:21 AM
Views: 11
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.