Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 99%

CVE-2026-40593: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ChurchCRM CRM

0
Medium
VulnerabilityCVE-2026-40593cvecve-2026-40593cwe-79cwe-116
Published: Sat Apr 18 2026 (04/18/2026, 00:02:59 UTC)
Source: CVE Database V5
Vendor/Project: ChurchCRM
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/26/2026, 02:43:08 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/3/2026, 8:35:32 AM

Views: 78

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses