Vulnerabilities · 2025 · Churchcrm
CVE-2025-62521
Churchcrm vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Churchcrm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Churchcrm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Churchcrm products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.