Description
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
References2
- github.com/frappe/erpnext/pull/49192/commits/1db135262d9474411e… Patch
- github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-D… ExploitThird Party Advisory
Metrics
- CVSS 3.1
-
8.2
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N - EPSS — exploit probability
- 0% percentile: 26 · as of 9 November 2026
- CWE
- CWE-89
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.