# CVE-2025-62521: ChurchCRM has unauthenticated RCE in its Install Wizard

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- 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): 4.79%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-17T19:03:20.040Z
- Modified: 2026-06-17T09:52:01.790Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.

(As written by CVE List.)

## Affected

- ChurchCRM CRM: < 5.21.0
- churchcrm churchcrm: before 5.21.0

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ChurchCRM/CRM/security/advisories/GHSA-m8jq-j3p9-2xf3> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2025-62521](https://www.cve.org/CVERecord?id=CVE-2025-62521), CVE Terms of Use, modified 2025-12-17
- NVD: [CVE-2025-62521](https://nvd.nist.gov/vuln/detail/CVE-2025-62521), Public domain, modified 2026-06-17

---

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