{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.7.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d3724169420758de7687c1a52c0003277aedfa95"
            },
            {
              "fixed": "aaeea1e4825785c6138fa84be49ac373bac4f0af"
            }
          ],
          "repo": "https://github.com/invoiceplane/invoiceplane",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-vv4r-cgmw-w6x2"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54790.json"
  },
  "details": "InvoicePlane is a self-hosted open source application for managing invoices, clients, and payments. Prior to 1.7.2, InvoicePlane stores an administrator-controlled custom_field_table value without validating it against the allowed custom-field table names. Mdl_custom_fields::used() later concatenates that stored value into the FROM table and WHERE column identifier positions, so opening the custom-field edit form executes a second-order SQL injection. The injection can query arbitrary schema data and can cause application errors or denial of service. This issue is fixed in version 1.7.2.",
  "id": "CVE-2026-54790",
  "modified": "2026-09-27T03:30:30.941144468Z",
  "published": "2026-09-25T15:19:21.833Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54790.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-vv4r-cgmw-w6x2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54790"
    },
    {
      "type": "FIX",
      "url": "https://github.com/InvoicePlane/InvoicePlane/commit/d3724169420758de7687c1a52c0003277aedfa95"
    },
    {
      "type": "FIX",
      "url": "https://github.com/InvoicePlane/InvoicePlane/pull/1573"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "InvoicePlane: Second-order SQL injection through the unvalidated custom_field_table field in the Custom Fields module"
}