# CVE-2026-40593: ChurchCRM: Stored XSS in UserEditor.php via Login Name Field

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-02)
- Published: 2026-04-18T00:02:59.606Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-79, CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ChurchCRM CRM: < 7.2.0

## References

- <https://github.com/ChurchCRM/CRM/security/advisories/GHSA-7h46-9f64-p49q>

## Sources

- CVE List: [CVE-2026-40593](https://www.cve.org/CVERecord?id=CVE-2026-40593), CVE Terms of Use, modified 2026-04-20
- NVD: [CVE-2026-40593](https://nvd.nist.gov/vuln/detail/CVE-2026-40593), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40593 · Whole record: https://cve.day/CVE-2026-40593.json · Rebuilt by cve.day 2026-11-25T22:59:18.987Z
