CVE-2025-66440HIGH 8.8EPSS p24.1%

CVE-2025-66440CVE-2025-66440

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 to_posting_date parameter, which is directly interpolated into the query without proper sanitization or parameter binding.

Scoring

CVSS 3.18.8 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS0.33% probability of exploitation · percentile 24.1% · 2026-06-18T12:00:27Z
Published2025-12-15
Last modified2026-01-05

Underlying weaknesses· 1

CWE-89

References

  1. https://github.com/frappe/frappe/security
  2. https://iamanc.github.io/post/erpnext-sqli

1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection')cwe-890%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2025-66439
CVE
CVE-2025-52040
CVE
CVE-2025-52039
CVE
CVE-2025-52041
CVE
CVE-2025-52042
CVE
CVE-2025-66434
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.