CVE-2026-54790 PUBLISHED

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

Assigner: GitHub_M
Reserved: 15.06.2026 Published: 25.09.2026 Updated: 25.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L
CVSS Score: 6

Product Status

Vendor InvoicePlane
Product InvoicePlane
Versions
  • Version < 1.7.2 is affected

References

Problem Types

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE