Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin access to InvoicePlane
-
DeliveryStore crafted custom_field_table value
-
ExploitOpen custom-field edit form
-
ExecutionMdl_custom_fields::used() concatenates value into query
-
PersistSecond-order SQL executes
-
ImpactRead arbitrary schema or cause DoS
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated InvoicePlane administrator account (PR:H): the vulnerable custom_field_table value can only be written by an admin managing custom fields, per the description ('administrator-controlled custom_field_table value'). The injection is second-order - it does not execute at save time but when the custom-field edit form is later opened and Mdl_custom_fields::used() builds its query. Affected versions are all releases prior to 1.7.2. What LIMITS exploitation: the mandatory administrator privilege level, which restricts this to malicious insiders or attackers who have already compromised an admin session, meaning it grants broader database schema read rather than initial unauthenticated access. |
| Impact | This is a genuine second-order SQL injection (CWE-89) but a modest-priority one because exploitation requires administrator privileges. The provided CVSS vector (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L, 6.0 Medium) is internally consistent with the description: the malicious custom_field_table value can only be stored by an administrator (PR:H), and the injection fires when the custom-field edit form is later opened (a second-order trigger performed by the same privileged operator, so UI:N). The C:H rating is defensible - the source-code evidence confirms the tainted value is concatenated into FROM-table and WHERE-column identifier positions in Mdl_custom_fields::used(), which the description says allows querying arbitrary schema data. No EPSS score, no CISA KEV listing, and no public exploit are present in the input, so there is no signal of active or automated exploitation. The core caveat is the trust model: an attacker must already hold administrator access to InvoicePlane, which substantially blunts real-world urgency - a compromised or malicious admin gaining broader DB read is an escalation-of-scope issue rather than an initial-access one. Signals are consistent (no conflicts between CVSS, CWE, and the confirmed patch), so this is a real-but-not-urgent Medium: patch on a normal cycle. |
| Exploit ScenarioDerived | An authenticated InvoicePlane administrator (or an attacker who has already seized an admin session) saves a custom field with a crafted custom_field_table value containing SQL syntax, which is stored without validation. When the custom-field edit form is subsequently opened, Mdl_custom_fields::used() concatenates that stored value into the query's table and column identifier positions, executing the injected SQL and returning arbitrary schema data or triggering application errors/DoS. No public exploit code is identified at time of analysis; exploitation is deterministic (AC:L) but gated behind administrator privilege (PR:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
Authenticated InvoicePlane administrators can store a crafted custom_field_table value that is later concatenated into SQL identifier positions when the custom-field edit form is opened, producing a second-order SQL injection in releases prior to 1.7.2. The flaw can expose arbitrary database schema data and cause application errors or denial of service, but it requires a high-privilege administrator account (PR:H), so it is a modest-priority issue that mainly affects malicious insiders or already-compromised admin sessions. Vendor-released patch: 1.7.2; no public exploit identified at time of analysis.
RemediationAI
Upgrade to InvoicePlane 1.7.2 or later, which is the vendor-released patch and includes the validated custom_field_table handling from PR 1573 (commit d3724169420758de7687c1a52c0003277aedfa95); see https://github.com/InvoicePlane/InvoicePlane/security/advisories/GHSA-vv4r-cgmw-w6x2 and https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2. If immediate upgrade is not possible, restrict administrator access to trusted personnel and treat admin sessions as high-value compromise targets, since exploitation requires PR:H; enforce strong authentication and MFA where available, and review admin accounts for signs of compromise. Disabling or restricting the custom-fields module would remove the attack surface but sacrifices legitimate custom-field functionality, and database-level restrictions or application-level allowlisting of custom_field_table values can compensate until patched.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
InvoicePlane is a self-hosted PHP invoice, client, and payment management application; the affected CPE cpe:2.3:a:invoiceplane:invoiceplane:*:*:*:*:*:*:*:* covers releases before 1.7.2. The root cause is CWE-89 SQL injection in the custom-fields model: an administrator-controlled custom_field_table value is saved without being validated against the list of allowed custom-field table names, and Mdl_custom_fields::used() later concatenates that stored value into the FROM table and WHERE column identifier positions. This makes it second-order: the payload is persisted first and executes when the custom-field edit form is opened; related code in Mdl_custom_values::used() can also be reached, and the fix in 1.7.2 adds in_list validation and checks that custom_field_table is within array_keys(custom_tables()) before use. The provided PR and commit evidence (PR 1573, commit d3724169420758de7687c1a52c0003277aedfa95) confirms the upstream fix.
Know when Invoiceplane gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L
Admin-only storage of the tainted value forces PR:H; the same operator triggers the second-order query so UI:N; arbitrary schema read gives C:H, with limited I/A from errors/DoS.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Invoiceplane
View allInvoicePlane through 1.6.3 allows authenticated users to upload PHP files as attachments that can be executed remotely.
Remote Code Execution in InvoicePlane self-hosted invoicing application through code injection. PoC and patch available.
InvoicePlane version 1.4.10 is vulnerable to a Arbitrary File Upload resulting in an authenticated user can upload a mal
In InvoicePlane 1.5.11 a misconfigured web server allows unauthenticated directory listing and file download. Rated high
Unauthenticated attackers can read arbitrary files from InvoicePlane servers through path traversal in the Guest control
An SQL injection vulnerability in InvoicePlane through 1.6.3 has been identified in "maxQuantity" and "minQuantity" para
InvoicePlane (all versions tested as of December 2024) v.1.6.11 and before contains a remote code execution vulnerabilit
Cross Site Scripting (XSS) vulnerability in InvoicePlane 1.6 via filter_product input to file modal_product_lookups.php.
An XSS issue was discovered in InvoicePlane 1.5.10 via the "Quote PDF Password(Optional)" field. Rated medium severity (
Stored XSS via SVG file upload in InvoicePlane 1.7.0 Login Logo functionality allows authenticated administrators to inj
Stored XSS in InvoicePlane 1.7.0's invoice editing function fails to sanitize the invoice_number parameter, allowing aut
Stored XSS in InvoicePlane 1.7.0 via malicious SVG file upload in the Invoice Logo function allows authenticated adminis
EUVD-2026-87121
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB