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.
Cite this page
CVE-2025-66439. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2025-66439
Use CWE-89, Frappe vendor hub and Erpnext product page to widen CVE-2025-66439 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2025-67289, CVE-2026-27471 and CVE-2026-31017 for nearby disclosures in the same product family.