{"id":"CVE-2026-54790","summary":"InvoicePlane: Second-order SQL injection through the unvalidated custom_field_table field in the Custom Fields module","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.","aliases":["GHSA-vv4r-cgmw-w6x2"],"modified":"2026-09-27T03:47:32.885893969Z","published":"2026-09-25T15:19:21.833Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54790.json","cna_assigner":"GitHub_M"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/invoiceplane/invoiceplane","events":[{"introduced":"0"},{"fixed":"d3724169420758de7687c1a52c0003277aedfa95"},{"fixed":"aaeea1e4825785c6138fa84be49ac373bac4f0af"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.7.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v1.7.2-rc-2","v1.7.2-rc-1","v1.7.2-beta-1","v1.6.5","v1.6.4-beta-1","v1.6.3","v1.6.3-rc2","v1.6.3-rc1","v1.6.3-rc0","v1.6.2-beta-3","v1.6.2-beta-2","v1.6.2-beta-1","v1.6.1","v1.6.0","v1.6.1-beta-3","v1.6.1-beta-2","v1.6.1-beta-1","v1.6.1-alpha-1","v1.6-beta-3","v1.6-beta-2","v1.6-beta-1","v1.6-beta","v1.5.10","v1.5.9","v1.5.8","v1.5.7","v1.5.6","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.10","v1.4.9","v1.4.8","v1.4.7","v1.4.6","v1.4.5","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.2.0","v1.1.0","v1.0.1","v1.0.0","0.9beta"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54790.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L"}]}