# CVE-2026-40593

> Vulnerability · severity: **MEDIUM** (CVSS 4.8).

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

## Key facts

- **CVE ID:** CVE-2026-40593
- **Published:** 2026-04-18
- **CVSS severity:** MEDIUM
- **CVSS base score:** 4.8
- **CWE codes:** CWE-79, CWE-116

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40593

## Citation

> AI Analytics. CVE-2026-40593. Retrieved 2026-07-06 from https://api.ai-analytics.org/cve/CVE-2026-40593. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*