CVE-2026-54790

InvoicePlane: Second-order SQL injection through the unvalidated custom_field_table field in the Custom Fields module

Published Sep 25, 2026 CVSS 3.1 · 6 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

InvoicePlane is a self‑hosted application for invoice management. A flaw in the Custom Fields module lets an administrator store an unvalidated custom_field_table value. That value is later concatenated directly into an SQL query when editing custom fields, creating a second‑order SQL injection (CWE‑89). An attacker can use the injection to read arbitrary database schema information and may trigger application errors or denial of service.

Affected Systems

The vulnerability impacts all deployments of InvoicePlane prior to version 1.7.2. Administrators using the current code base with the Custom Fields module are at risk unless they have upgraded to the patched release v1.7.2 or later.

Risk and Exploitability

The severity rated at CVSS 6.0 indicates moderate risk. Because the injection is second‑order, an attacker must first influence the stored custom_field_table value, which generally requires administrative access or a prior privilege‑exploiting foothold. When privileged access is achieved, the attacker can trigger schema queries or cause crashes. EPSS is currently unavailable and the issue is not listed in the CISA KEV catalog, so the threat is moderate but requires monitoring because exploitation could cause data exposure or downtime.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade InvoicePlane to version 1.7.2 or later, where the custom_field_table validation is fixed.
  • Review and reset custom field configurations, ensuring only permitted table names are stored and removing any unintended entries.
  • Enforce strong administrative account security, such as multi‑factor authentication or stringent password policies, to reduce the likelihood of an attacker gaining the privilege needed to inject.

Generated by OpenCVE AI on September 25, 2026 at 18:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Invoiceplane
Invoiceplane invoiceplane
Vendors & Products Invoiceplane
Invoiceplane invoiceplane
Type Values Removed Values Added
Description 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.
Title InvoicePlane: Second-order SQL injection through the unvalidated custom_field_table field in the Custom Fields module
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 28, 2026, 2:37 PM
Reserved
Jun 15, 2026, 11:23 PM
Status
Deferred
Published
Sep 25, 2026, 4:17 PM
Modified
Sep 28, 2026, 3:17 PM