PT-2025-40244 · Frappe · Erpnext

·

CVE-2025-52040

·

Published

2025-10-01

·

Updated

2025-10-06

CVSS v3.1

8.2

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions Frappe ERPNext version 15.57.5
Description The function get blanket orders() at erpnext/controllers/queries.py is susceptible to SQL Injection. An attacker can potentially extract information from databases by injecting a SQL query into the blanket order type parameter.
Recommendations Apply a fix for the SQL Injection issue in the get blanket orders() function at erpnext/controllers/queries.py in version 15.57.5.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-52040

Affected Products

Erpnext