An issue was discovered in Frappe ERPNext through 15.89.0. Function get_outstanding_reference_documents() at erpnext/accounts/doctype/payment_entry/payment_entry.py is vulnerable to SQL Injection. It allows an attacker to extract arbitrary data from the database by injecting SQL payloads via the to_posting_date parameter, which is directly interpolated into the query without proper sanitization or parameter binding.
Metrics
Affected Vendors & Products
References
History
Tue, 16 Dec 2025 16:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-89 | |
| Metrics |
cvssV3_1
|
Mon, 15 Dec 2025 21:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Frappe
Frappe erpnext |
|
| Vendors & Products |
Frappe
Frappe erpnext |
Mon, 15 Dec 2025 17:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | An issue was discovered in Frappe ERPNext through 15.89.0. Function get_outstanding_reference_documents() at erpnext/accounts/doctype/payment_entry/payment_entry.py is vulnerable to SQL Injection. It allows an attacker to extract arbitrary data from the database by injecting SQL payloads via the to_posting_date parameter, which is directly interpolated into the query without proper sanitization or parameter binding. | |
| References |
|
Status: PUBLISHED
Assigner: mitre
Published: 2025-12-15T00:00:00.000Z
Updated: 2025-12-16T15:25:19.698Z
Reserved: 2025-11-30T00:00:00.000Z
Link: CVE-2025-66440
Updated: 2025-12-16T15:25:12.995Z
Status : Undergoing Analysis
Published: 2025-12-15T18:15:48.663
Modified: 2025-12-16T16:16:02.483
Link: CVE-2025-66440
No data.