CVE-2025-52040: 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_blanket_orders() at erpnext/controllers/queries.py is vulnerable to SQL Injection, which allows an attacker can extract all information from databases by injecting a SQL query into the blanket_order_type parameter.

Affected products

  • Frappe Erpnext: version 15.57.5 only

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