Description
ChurchCRM is an open-source church management system. Prior to 7.1.0, a stored cross-site scripting vulnerability exists in PersonView.php due to incorrect use of sanitizeText() as an output sanitizer for HTML attribute context. The function only strips HTML tags, it does not escape quote characters allowing an attacker to break out of the href attribute and inject arbitrary JavaScript event handlers. Any authenticated user with the EditRecords role can store the payload in a person's Facebook field. The XSS fires against any user who views that person's profile page, including administrators, enabling session hijacking and full account takeover. This vulnerability is fixed in 7.1.0.
Affected products
churchcrm: churchcrm
References2
- github.com/ChurchCRM/CRM/security/advisories/GHSA-pqp6-54p2-m66f Third Party Advisory
- github.com/ChurchCRM/CRM/security/advisories/GHSA-pqp6-54p2-m66f Third Party Advisory
Metrics
- CVSS 3.1
-
7.6
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N - EPSS — exploit probability
- 0% percentile: 7 · as of 12 November 2026
- CWE
- CWE-79CWE-87CWE-116
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.