{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "7.0.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "17a5ff8ed6310de4d805c4d9c2f79dfa6f52af86"
            }
          ],
          "repo": "https://github.com/churchcrm/crm",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39940.json"
  },
  "details": "ChurchCRM is an open-source church management system. Prior to 7.0.0, it was possible in many places across the ChurchCRM application to create a link that, when visited by an authenticated user, would redirect them to any URL chosen by an attacker if they clicked 'Cancel' button on the page. For this write-up the DonatedItemEditor.php will be used as an example, however wherever all instances of 'linkBack' should be assessed. This vulnerability is fixed in 7.0.0.",
  "id": "CVE-2026-39940",
  "modified": "2026-07-08T05:38:22.542152595Z",
  "published": "2026-04-13T16:34:58.495Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39940.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ChurchCRM/CRM/security/advisories/GHSA-5g52-rvjf-6wwf"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ChurchCRM/CRM/security/advisories/GHSA-v3hj-33xf-qx47"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39940"
    }
  ],
  "related": [
    "GHSA-5g52-rvjf-6wwf",
    "GHSA-v3hj-33xf-qx47"
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ChurchCRM has an Open Redirect via the ‘linkBack’ URL Parameter in DonatedItemEditor.php"
}