In Frappe ERPNext 15.57.5, the function get_material_requests_based_on_supplier() at erpnext/stock/doctype/material_request/material_request.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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 01 Oct 2025 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-89
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Oct 2025 14:45:00 +0000

Type Values Removed Values Added
Description In Frappe ERPNext 15.57.5, the function get_material_requests_based_on_supplier() at erpnext/stock/doctype/material_request/material_request.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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-10-01T14:48:38.885Z

Reserved: 2025-06-16T00:00:00.000Z

Link: CVE-2025-52039

cve-icon Vulnrichment

Updated: 2025-10-01T14:48:04.698Z

cve-icon NVD

Status : Received

Published: 2025-10-01T15:15:45.690

Modified: 2025-10-01T15:15:45.690

Link: CVE-2025-52039

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.