CVE-2025-62521CRITICAL 9.8EPSS p89.6%

CVE-2025-62521CVE-2025-62521

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.

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS4.15% probability of exploitation · percentile 89.6% · 2026-06-18T12:00:27Z
Published2025-12-17
Last modified2025-12-18

Underlying weaknesses· 1

CWE-94

References

  1. https://github.com/ChurchCRM/CRM/security/advisories/GHSA-m8jq-j3p9-2xf3

1

TypeTargetConfidenceTier
WeaknessImproper Control of Generation of Code ('Code Injection')cwe-940%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-39337
CVE
CVE-2026-42288
CVE
CVE-2025-68112
CVE
CVE-2026-39318
CVE
CVE-2025-67877
CVE
CVE-2026-42289
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.