PT-2025-51261 · Frappe · Erpnext
Published
2025-12-15
·
Updated
2026-01-05
·
CVE-2025-66440
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Frappe ERPNext versions through 15.89.0
Description
A SQL injection issue exists in Frappe ERPNext. The
get outstanding reference documents() function within the erpnext/accounts/doctype/payment entry/payment entry.py file is susceptible to exploitation. An attacker can extract data from the database by injecting SQL payloads through the to posting date parameter. This parameter is directly incorporated into database queries without adequate sanitization or parameter binding.Recommendations
Versions prior to 15.89.0 are recommended to be updated.
Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Erpnext