{"id":"CVE-2026-54790","revision":"362eaea88e644470bd7d41c5fa2befd9","records":[{"revision":"362eaea88e644470bd7d41c5fa2befd9","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-54790","aliases":[],"title":"InvoicePlane: Second-order SQL injection through the unvalidated custom_field_table field in the Custom Fields module","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.","state":0,"publishedAt":"2026-09-25T15:19:21.833+00:00","modifiedAt":"2026-09-28T14:37:13.671+00:00","affected":[{"ecosystem":"Vendor product","name":"InvoicePlane","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"InvoicePlane\",\n                    \"product\": \"InvoicePlane\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.7.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L","score":6,"severity":"MEDIUM"}],"references":["https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-vv4r-cgmw-w6x2","https://github.com/InvoicePlane/InvoicePlane/pull/1573","https://github.com/InvoicePlane/InvoicePlane/commit/d3724169420758de7687c1a52c0003277aedfa95","https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-54790","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-54790","identifiers":["CVE-2026-54790"]},"retained":false,"historicalAffected":[]}],"coverage":[]}