{"id":"CVE-2026-40593","published":"2026-04-18T00:02:59Z","modified":"2026-04-20T14:56:05Z","title":"ChurchCRM: Stored XSS in UserEditor.php via Login Name Field","vendor":"ChurchCRM","product":"CRM","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00208,"percentile":0.11062,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/ChurchCRM/CRM/security/advisories/GHSA-7h46-9f64-p49q","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":2.21},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"churchcrm","affectedVersions":[{"vendor":"ChurchCRM","product":"CRM","versions":["< 7.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-20T14:51:45.330577Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-23621","exploited":false,"provenance":"source"}}