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

- Severity: Medium 6.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-25T15:19:21.833Z
- Modified: 2026-09-28T15:17:18.213Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- InvoicePlane InvoicePlane: < 1.7.2

## References

- <https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-vv4r-cgmw-w6x2> (exploit)
- <https://github.com/InvoicePlane/InvoicePlane/pull/1573>
- <https://github.com/InvoicePlane/InvoicePlane/commit/d3724169420758de7687c1a52c0003277aedfa95>
- <https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2>

## Sources

- CVE List: [CVE-2026-54790](https://www.cve.org/CVERecord?id=CVE-2026-54790), CVE Terms of Use, modified 2026-09-28
- NVD: [CVE-2026-54790](https://nvd.nist.gov/vuln/detail/CVE-2026-54790), Public domain, modified 2026-09-28

---

Page: https://cve.day/CVE-2026-54790 · Whole record: https://cve.day/CVE-2026-54790.json · Rebuilt by cve.day 2026-11-25T22:59:41.104Z
