{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-52040","published":"2025-10-01T15:15:46.197000Z","last_modified":"2026-11-05T23:10:00.150000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:frappe:erpnext:15.57.5:*:*:*:*:*:*:*","part":"a","vendor":"frappe","product":"erpnext","version":"15.57.5"}],"cpes_truncated":false,"vendors":["frappe"],"products":["frappe/erpnext"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2025-52040/","html_en":"/en/cve/CVE-2025-52040/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-52040","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-52040"},"untrusted":{"vendor_name":"Frappe","product_name":"Erpnext","desc_en":"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":[],"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"]},{"url":"https://github.com/frappe/erpnext/pull/49192/commits/1db135262d9474411ef54e3367d24bb169d2503e","tags":["Patch"]}]}}