CVE-2025-66439

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 from_posting_date parameter, which is directly interpolated into the query without proper sanitization or parameter binding.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*

History

05 Jan 2026, 18:21

Type Values Removed Values Added
References () https://github.com/frappe/frappe/security - () https://github.com/frappe/frappe/security - Product
References () https://iamanc.github.io/post/erpnext-sqli - () https://iamanc.github.io/post/erpnext-sqli - Exploit, Third Party Advisory
CPE cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 8.8
First Time Frappe erpnext
Frappe

16 Dec 2025, 16:16

Type Values Removed Values Added
CWE CWE-89
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

15 Dec 2025, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-12-15 18:15

Updated : 2026-01-05 18:21


NVD link : CVE-2025-66439

Mitre link : CVE-2025-66439

CVE.ORG link : CVE-2025-66439


JSON object : View

Products Affected

frappe

  • erpnext
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')