CVE Catalog

CVE-2025-66439

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

30th percentile - higher than 30% of all known CVEs

Summary

In Frappe ERPNext through 15.89.0, the function get_outstanding_reference_documents() in erpnext.accounts.doctype.payment_entry.payment_entry.py is vulnerable to SQL Injection. An attacker can 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.

Risk Assessment

An attacker can access all data in the ERPNext database, including sensitive data, potentially leading to a breach of confidentiality and integrity.

Recommendation

Update ERPNext to the latest version where the vulnerability is fixed. Restrict access to payment functions to trusted users only.

Other vulnerabilities in Frappe ERPNext

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS