High severity8.8OSV Advisory· Published Dec 15, 2025· Updated Jun 17, 2026
CVE-2025-66440
CVE-2025-66440
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4Patches
Vulnerability mechanics
References
2- iamanc.github.io/post/erpnext-sqlinvdExploitThird Party Advisory
- github.com/frappe/frappe/securitynvdProduct
News mentions
0No linked articles in our index yet.