CVE-2025-66439

HIGH CVSS 3.1: 8.8 EPSS 0.41%
Updated Oct 14, 2026
Frappe
Parameter Value
CVSS 8.8 (HIGH)
Affected Versions before 15.89.0
Type CWE-89 (SQL Injection)
Vendor Frappe
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Frappe Erpnext
cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*
— <= 15.89.0