CVE-2025-66439
JSON

9.8critical

An issue was discovered in Frappe ERPNext through 15.89.0.

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.41% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
frappe erpnextup to 15.89.0NVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se descubrió un problema en Frappe ERPNext hasta la versión 15.89.0. La función get_outstanding_reference_documents() en erpnext.accounts.doctype.payment_entry.payment_entry.py es vulnerable a inyección SQL. Permite a un atacante extraer datos arbitrarios de la base de datos inyectando cargas útiles SQL a través del parámetro from_posting_date, el cual es directamente interpolado en la consulta sin una sanitización adecuada o vinculación de parámetros.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66439 changed 2025-12-16CVE Terms of Use
NVDCVE-2025-66439 changed 2026-10-14Public domain