{"id":"CVE-2025-52040","aliases":["CVE-2025-52040"],"related":[],"kind":"vulnerability","state":"published","title":"In Frappe ERPNext 15.57.5, the function getblanketorders() at erpnext/controllers/queries.py is vulnerable to SQL Injection, which allows a…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En Frappe ERPNext 15.57.5, la función get_blanket_orders() en erpnext/controllers/queries.py es vulnerable a inyección SQL, lo que permite a un atacante extraer toda la información de las bases de datos inyectando una consulta SQL en el parámetro blanket_order_type.","source":"nvd"}],"published":"2025-10-01T00:00:00.000Z","modified":"2026-11-05T23:10:00.150Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"15.57.5"}],"vendor":"frappe","product":"erpnext","cpe":"cpe:2.3:a:frappe:erpnext:15.57.5:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/blob/main/2025/Frappe%20Framework%20-%20Multiple%20SQL%20Injection.md","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/frappe/erpnext/pull/49192/commits/1db135262d9474411ef54e3367d24bb169d2503e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-10-01T14:50:37.145Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-52040","url":"https://www.cve.org/CVERecord?id=CVE-2025-52040","licence":"CVE Terms of Use","modified":"2025-10-01T14:51:04.013Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-52040","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52040","licence":"Public domain","modified":"2026-11-05T23:10:00.150Z"}],"updatedAt":"2026-11-25T22:59:05.400Z","epss":{"score":0.00327,"percentile":0.27755,"date":"2026-12-02T12:00:21.000Z"}}