Vulnerability 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 from_posting_date parameter, which is directly interpolated into the query without proper sanitization or parameter binding.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Frappe | Erpnext | <= 15.89.0 |
Related Weaknesses (CWE)
References
- https://github.com/frappe/frappe/securityProduct
- https://iamanc.github.io/post/erpnext-sqliExploitThird Party Advisory
FAQ
What is CVE-2025-66439?
CVE-2025-66439 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 ...
How severe is CVE-2025-66439?
CVE-2025-66439 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-66439?
Check the references section above for vendor advisories and patch information. Affected products include: Frappe Erpnext.