Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-66440
VULNERABILITY

CVE-2025-66440

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
8.8
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Timeline

Published
Dec 15, 2025 18:15
Modified
Oct 14, 2026 13:10
Last observed
Oct 14, 2026 10:02

CWE

CWE-89

Affected product identifiers

cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*

References