CVE-2025-52039: Frappe Erpnext

High severity, CVSS 8.2. EPSS: 0.3% chance of exploitation in the next 30 days.

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.

Affected products

  • Frappe Erpnext: version 15.57.5 only

Published 2025-10-01. Last modified 2026-06-17.