CVE-2025-52039: SQL Injection

Published Oct 1, 2025
·
Updated

In Frappe ERPNext 15.57.5, the function getmaterialrequestsbasedonsupplier() at erpnext/stock/doctype/materialrequest/materialrequest.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting a SQL query into the txt parameter.

Affected Software

2 affected components
Frappe ERPNext
Frappe ERPNext=15.57.5

Event History

Oct 1, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-52039?

CVE-2025-52039 is classified as a high severity vulnerability due to its potential for SQL injection.

2

How do I fix CVE-2025-52039?

To fix CVE-2025-52039, you should upgrade to the latest version of Frappe ERPNext where the vulnerability has been patched.

3

What systems are affected by CVE-2025-52039?

CVE-2025-52039 affects Frappe ERPNext version 15.57.5.

4

What type of attack does CVE-2025-52039 enable?

CVE-2025-52039 enables SQL injection attacks, allowing attackers to retrieve sensitive database information.

5

In which function does CVE-2025-52039 exist?

CVE-2025-52039 exists in the function get_material_requests_based_on_supplier() located in the material_request.py file.

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