Skip to content
Heist/ feed
Back to feed
High

ChurchCRM SQL Injection Vulnerability

Type: advisorySources: OSV

ChurchCRM is an open-source church management system. Versions prior to 6.5.3 have a SQL injection vulnerability in the `src/CartToFamily.php` file, specifically in how the `PersonAddress` POST parameter is handled. Unlike other parameters in the same file which are correctly cast to integers using the `InputUtils` class, the `PersonAddress` parameter is missing the type definition. This allows an attacker to inject arbitrary SQL commands directly into the query. Version 6.5.3 fixes the issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-67877
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 09:10 UTC · Revision 1

Source evidence

ChurchCRM SQL Injection Vulnerability

core-osv · Original source

Published 17 Dec 2025, 21:25 UTC

ChurchCRM is an open-source church management system. Versions prior to 6.5.3 have a SQL injection vulnerability in the `src/CartToFamily.php` file, specifically in how the `PersonAddress` POST parameter is handled. Unlike other parameters in the same file which are correctly cast to integers using the `InputUtils` class, the `PersonAddress` parameter is missing the type definition. This allows an attacker to inject arbitrary SQL commands directly into the query. Version 6.5.3 fixes the issue.

osv:CVE-2025-67877
Complete source record
{
  "id": "8719d40e9eda3344ed4b872ecfa96409a71c07e8d0c40aaeaa4871cc77087ad5",
  "url": "https://osv.dev/vulnerability/CVE-2025-67877",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ChurchCRM SQL Injection Vulnerability",
    "summary": "ChurchCRM is an open-source church management system. Versions prior to 6.5.3 have a SQL injection vulnerability in the `src/CartToFamily.php` file, specifically in how the `PersonAddress` POST parameter is handled. Unlike other parameters in the same file which are correctly cast to integers using the `InputUtils` class, the `PersonAddress` parameter is missing the type definition. This allows an attacker to inject arbitrary SQL commands directly into the query. Version 6.5.3 fixes the issue.",
    "evidence": "osv:CVE-2025-67877",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-67877",
      "aliases": [
        "CVE-2025-67877",
        "GHSA-h3vq-9gr6-h9r4"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/churchcrm/crm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "472e38155ef4bf5af183c591bcbcdb7969879985"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "6.5.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:churchcrm:churchcrm:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "6.5.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.5.2",
            "6.5.1",
            "6.5.0",
            "6.4.0",
            "6.3.0",
            "6.2.0",
            "6.1.0",
            "6.0.2",
            "6.0.1",
            "6.0.0",
            "5.22.0",
            "5.21.0",
            "5.19.0",
            "5.18.0",
            "5.17.0",
            "5.16.0",
            "5.15.0",
            "5.14.0",
            "5.13.0",
            "5.11.0",
            "5.10.0",
            "5.9.3",
            "5.9.2",
            "5.9.1",
            "5.8.0",
            "5.7.0",
            "5.6.0",
            "5.5.0",
            "5.4.3",
            "5.4.1",
            "5.4.0",
            "5.3.1",
            "5.3.0",
            "5.2.3",
            "5.2.2",
            "5.2.1",
            "5.2.0",
            "5.1.1",
            "5.1.0",
            "5.0.5",
            "5.0.4",
            "5.0.3",
            "5.0.2",
            "5.0.1",
            "5.0.0-beta2",
            "5.0.0-beta1",
            "5.0.0",
            "4.5.4",
            "4.5.3",
            "4.5.2",
            "4.5.1",
            "4.5.0",
            "4.4.5",
            "4.4.4",
            "4.4.3",
            "4.4.2",
            "4.4.1",
            "4.4.0",
            "4.3.2",
            "4.3.1",
            "4.3.0",
            "4.2.3",
            "4.2.2",
            "4.2.1",
            "4.2.0",
            "4.1.4",
            "4.1.3",
            "4.1.2",
            "4.1.1",
            "4.1.0",
            "4.0.5",
            "4.0.4",
            "4.0.3",
            "4.0.2",
            "4.0.1",
            "4.0.0",
            "3.5.5",
            "3.5.4",
            "3.5.3",
            "3.5.2",
            "3.5.1",
            "3.5.0",
            "3.4.0",
            "3.3.2",
            "3.3.1",
            "3.3.0",
            "3.2.4",
            "3.2.3",
            "3.2.2",
            "3.2.1",
            "3.2.0",
            "3.1.2",
            "3.1.1",
            "3.1.0",
            "3.0.13",
            "3.0.12",
            "3.0.11",
            "3.0.10",
            "3.0.9",
            "3.0.8",
            "3.0.6",
            "3.0.5",
            "3.0.4",
            "3.0.3",
            "3.0.2",
            "3.0.1",
            "3.0.0",
            "2.10.3",
            "2.10.2",
            "2.10.1",
            "2.10.0",
            "2.9.4",
            "2.9.3",
            "2.9.2",
            "2.9.1",
            "2.9.0",
            "2.9.0-RC1",
            "2.8.15",
            "2.8.14",
            "2.8.13",
            "2.8.12",
            "2.8.11",
            "2.8.10",
            "2.8.9",
            "2.8.8",
            "2.8.7",
            "2.8.6",
            "2.8.5",
            "2.8.4",
            "2.8.3",
            "2.8.2",
            "2.8.1",
            "2.8.0",
            "2.8.0-RC2",
            "2.8.0-RC1",
            "2.7.5",
            "2.7.4",
            "2.7.3",
            "2.7.2",
            "2.7.1",
            "2.7.0",
            "2.6.3",
            "2.6.2",
            "2.6.1",
            "2.6.0",
            "2.5.2",
            "2.5.1",
            "2.5.0",
            "2.3.5",
            "2.3.4",
            "2.3.3",
            "2.3.2",
            "2.3.1",
            "2.3.0",
            "2.2.4",
            "2.2.3",
            "2.2.2",
            "2.2.1",
            "2.2.0",
            "2.1.11",
            "2.1.10",
            "2.1.9",
            "2.1.7",
            "2.1.6",
            "2.1.5",
            "2.1.4",
            "2.1.3",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.0.1",
            "2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67877.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.223183395Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67877.json",
        "https://github.com/ChurchCRM/CRM/security/advisories/GHSA-h3vq-9gr6-h9r4",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-67877"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67877.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-67877",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518848,
  "published_at": "2025-12-17T21:25:18.465+00:00"
}