CVE-2025-66439: SQL Injection

Published Dec 15, 2025
·
Updated

An issue was discovered in Frappe ERPNext through 15.89.0. Function getoutstandingreferencedocuments() at erpnext.accounts.doctype.paymententry.paymententry.py is vulnerable to SQL Injection. It allows an attacker to extract arbitrary data from the database by injecting SQL payloads via the frompostingdate parameter, which is directly interpolated into the query without proper sanitization or parameter binding.

Affected Software

2 affected components
pypi/frappe<=15.89.0
Frappe ERPNext<=15.89.0

Event History

Dec 15, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-66439?

CVE-2025-66439 is classified as a critical severity vulnerability due to its potential for SQL Injection, allowing attackers to extract arbitrary data.

2

How do I fix CVE-2025-66439?

To fix CVE-2025-66439, update Frappe ERPNext to a version higher than 15.89.0 where the vulnerability has been addressed.

3

What types of systems are affected by CVE-2025-66439?

CVE-2025-66439 affects Frappe ERPNext versions up to and including 15.89.0.

4

What is the impact of exploiting CVE-2025-66439?

Exploiting CVE-2025-66439 allows an attacker to execute SQL commands and potentially extract sensitive data from the database.

5

Who is responsible for fixing CVE-2025-66439 in affected systems?

System administrators using affected versions of Frappe ERPNext are responsible for implementing the necessary updates to mitigate CVE-2025-66439.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203