{"id":"CVE-2026-54790","published":"2026-09-25T15:19:21Z","modified":"2026-09-28T14:37:13Z","title":"InvoicePlane: Second-order SQL injection through the unvalidated custom_field_table field in the Custom Fields module","vendor":"InvoicePlane","product":"InvoicePlane","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00385,"percentile":0.24293,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-vv4r-cgmw-w6x2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/pull/1573","tags":["x_refsource_MISC"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/commit/d3724169420758de7687c1a52c0003277aedfa95","tags":["x_refsource_MISC"]},{"url":"https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2","tags":["x_refsource_MISC"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":4.86},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"invoiceplane","affectedVersions":[{"vendor":"InvoicePlane","product":"InvoicePlane","versions":["< 1.7.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-28T14:37:06.585358Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-87121","exploited":false,"provenance":"source"}}