{"id":"CVE-2025-66440","published":"2025-12-15T00:00:00Z","modified":"2025-12-16T15:25:19Z","title":"An issue was discovered in Frappe ERPNext through 15.89.0","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00653,"percentile":0.45957,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/frappe/frappe/security","tags":[]},{"url":"https://iamanc.github.io/post/erpnext-sqli","tags":[]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":9.19},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-12-16T15:22:52.332798Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-203391","exploited":false,"provenance":"source"}}