{"id":"CVE-2025-52047","published":"2025-09-30T00:00:00Z","modified":"2025-09-30T19:43:47Z","title":"In Frappe ErpNext v15.57.5, the function get_income_account() at erpnext/controllers/queries.py is vulnerable to SQL…","vendor":null,"product":null,"tier":"tail","description":{"text":"In Frappe ErpNext v15.57.5, the function get_income_account() at erpnext/controllers/queries.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting a SQL query into the filters.disabled parameter.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00398,"percentile":0.25609,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/blob/main/2025/Frappe%20Framework%20-%20Multiple%20SQL%20Injection.md","tags":[]},{"url":"https://github.com/frappe/erpnext/pull/49192/commits/6320f7290f93a5278ffdfaa790af70427c20a1c8","tags":[]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":5.12},{"name":"CVSS severity","points":4.55}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-09-30T19:43:04.859012Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-31735","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2025-52047-family-cve-2025-52047","children":[{"from":"CVE-2025-52047","to":"CVE-2025-52040","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["erpnext/controllers/queries.py"],"commits":["https://github.com/frappe/erpnext/commit/1db135262d9474411ef54e3367d24bb169d2503e","https://github.com/frappe/erpnext/commit/6320f7290f93a5278ffdfaa790af70427c20a1c8"],"basis":"rarely changed file"}]}]}}