CVE Explorer
CVE-2025-62521
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 p
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"CRM","vendor":"ChurchCRM","versions":[{"status":"affected","version":"< 5.21.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a02c5a481fc305c210f4366cb9726f880ca9e9d09b772b14ffcbec4f55cb2ae2 · sha256:efe39c5bfadf7c01… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a02c5a481fc305c210f4366cb9726f880ca9e9d09b772b14ffcbec4f55cb2ae2 · sha256:efe39c5bfadf7c01… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a02c5a481fc305c210f4366cb9726f880ca9e9d09b772b14ffcbec4f55cb2ae2 · sha256:efe39c5bfadf7c01… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/ChurchCRM/CRM/security/advisories/GHSA-m8jq-j3p9-2xf3","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ChurchCRM/CRM/security/advisories/GHSA-m8jq-j3p9-2xf3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a02c5a481fc305c210f4366cb9726f880ca9e9d09b772b14ffcbec4f55cb2ae2 · sha256:efe39c5bfadf7c01… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.