CVE-2025-66439CWE-89sql-injection

CVE-2025-66439

High · published December 15, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
30.6
In the wild
Unconfirmed
What it is

🚨 Just when you thought your payment system was safe, a sneaky SQL injection vulnerability in Frappe ERPNext can let attackers waltz in and extract sensitive data! 🔥 Think of it like a restaurant where a chef accepts any customer order without checking the ingredients—an SQL payload slips in, and suddenly, the entire kitchen's secrets are laid bare. 🍽️ This vulnerability could allow attackers to steal sensitive information from your database, potentially exposing customer data, financial records, or trade secrets. The consequences could be absolutely devastating, leading to serious financial and reputational damage. 😱

Put simply

Think of it like a restaurant where a chef accepts any customer order without checking the ingredients—an SQL payload slips in, and suddenly, the entire kitchen's secrets are laid bare. 🍽️ The vulnerability exists in the function get_outstanding_reference_documents() where the from_posting_date parameter is directly interpolated into the SQL query without proper sanitization, making it ripe for SQL injection attacks.

What to do

This vulnerability could allow attackers to steal sensitive information from your database, potentially exposing customer data, financial records, or trade secrets. The consequences could be absolutely devastating, leading to serious financial and reputational damage. 😱 Immediately patch your Frappe ERPNext installation to version 15.89.1 or later to close this critical vulnerability. Additionally, ensure proper parameter binding and input sanitization in your SQL queries to prevent future exploits. 🔧🛡️ You've got this! Apply the patch and tighten your security—your data deserves the best protection! 💪✨

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00379 · 30.6th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2025-12-15T23:15Z
Affected products (1)
ProductVersionsFixed in
frappe/erpnext≤ 15.89.0—
References (2)
EPSS history
Timeline
  • 15 DEC 00:00Z
    An issue was discovered in Frappe ERPNext through 15.89.0
    cvelistv5