Skip to content
Heist/ feed
Back to feed
Medium

ChurchCRM: Stored XSS in PledgeEditor.php via Donation Comment Field

Type: advisorySources: OSV

ChurchCRM is an open-source church management system. In versions prior to 7.2.0, the Pledge Editor renders donation comment values directly into HTML input value attributes without escaping via htmlspecialchars(). An authenticated user with Finance permissions can inject HTML attribute-breaking characters and event handlers into the comment field, which are stored in the database and execute in the browser of any user who subsequently opens the pledge record for editing, resulting in stored XSS. This issue has been fixed in version 7.2.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-40483
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:22 UTC · Revision 1

Source evidence

ChurchCRM: Stored XSS in PledgeEditor.php via Donation Comment Field

core-osv · Original source

Published 17 Apr 2026, 23:20 UTC

ChurchCRM is an open-source church management system. In versions prior to 7.2.0, the Pledge Editor renders donation comment values directly into HTML input value attributes without escaping via htmlspecialchars(). An authenticated user with Finance permissions can inject HTML attribute-breaking characters and event handlers into the comment field, which are stored in the database and execute in the browser of any user who subsequently opens the pledge record for editing, resulting in stored XSS. This issue has been fixed in version 7.2.0.

osv:CVE-2026-40483
Complete source record
{
  "id": "0e479a43b8a1f3eabb5ddce8484df2a3de2f8a029671fa8134dd2c5fc8cffed7",
  "url": "https://osv.dev/vulnerability/CVE-2026-40483",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ChurchCRM: Stored XSS in PledgeEditor.php via Donation Comment Field",
    "summary": "ChurchCRM is an open-source church management system. In versions prior to 7.2.0, the Pledge Editor renders donation comment values directly into HTML input value attributes without escaping via htmlspecialchars(). An authenticated user with Finance permissions can inject HTML attribute-breaking characters and event handlers into the comment field, which are stored in the database and execute in the browser of any user who subsequently opens the pledge record for editing, resulting in stored XSS. This issue has been fixed in version 7.2.0.",
    "evidence": "osv:CVE-2026-40483",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-40483",
      "aliases": [
        "CVE-2026-40483",
        "GHSA-wjmf-w8gj-rx7g"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/churchcrm/crm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "bb496ddd29d0e892434bf2a9dd5a3031725dc2b0"
                },
                {
                  "fixed": "b3da72a2b35f9c600e340a9dfd35e7792ff4f899"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "7.2.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b3da72a2b35f9c600e340a9dfd35e7792ff4f899"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.2.0-rc1",
            "7.1.2",
            "7.1.1",
            "7.1.0",
            "7.1.0-rc3",
            "7.1.0-rc2",
            "7.1.0-rc1",
            "7.0.5",
            "7.0.4",
            "7.0.3",
            "7.0.2",
            "7.0.1",
            "7.0.0",
            "6.8.1",
            "6.8.0",
            "6.7.3",
            "6.7.2",
            "6.7.1",
            "6.7.0",
            "6.6.1",
            "6.6.0",
            "6.5.3",
            "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-2026-40483.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.782517287Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40483.json",
        "https://github.com/ChurchCRM/CRM/security/advisories/GHSA-wjmf-w8gj-rx7g",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-40483",
        "https://github.com/ChurchCRM/CRM/commit/b3da72a2b35f9c600e340a9dfd35e7792ff4f899",
        "https://github.com/ChurchCRM/CRM/pull/8609"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-116",
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40483.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-40483",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492439,
  "published_at": "2026-04-17T23:20:44.9+00:00"
}