CVE-2025-62521
criticalpriority · attend · 51EPSS 0.045 · 91 %ileexploit · weaponizedEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- exploit/multi/http/churchcrm_install_unauth_rceChurchCRM Unauthenticated RCE via Setup Pageweaponized · metasploit
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
- https://github.com/ChurchCRM/CRM/releasesPatchcnnvd
- https://github.com/ChurchCRM/CRM/security/advisories/GHSA-m8jq-j3p9-2xf3cnnvd
- https://github.com/ChurchCRM/CRM/security/advisories/GHSA-m8jq-j3p9-2xf3enisa_euvd
- https://github.com/ChurchCRM/CRM/security/advisories/GHSA-m8jq-j3p9-2xf3ExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan