CVE-2025-52047

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:frappe:erpnext:15.57.5:*:*:*:*:*:*:*

History

17 Jun 2026, 09:35

Type Values Removed Values Added
Summary
  • (es) En Frappe ErpNext v15.57.5, la función get_income_account() 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 filters.disabled.

03 Oct 2025, 16:20

Type Values Removed Values Added
First Time Frappe erpnext
Frappe
CPE cpe:2.3:a:frappe:erpnext:15.57.5:*:*:*:*:*:*:*
References () https://github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/blob/main/2025/Frappe%20Framework%20-%20Multiple%20SQL%20Injection.md - () https://github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/blob/main/2025/Frappe%20Framework%20-%20Multiple%20SQL%20Injection.md - Exploit, Third Party Advisory
References () https://github.com/frappe/erpnext/pull/49192/commits/6320f7290f93a5278ffdfaa790af70427c20a1c8 - () https://github.com/frappe/erpnext/pull/49192/commits/6320f7290f93a5278ffdfaa790af70427c20a1c8 - Patch

30 Sep 2025, 20:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
CWE CWE-89

30 Sep 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-30 14:15

Updated : 2026-06-17 09:35


NVD link : CVE-2025-52047

Mitre link : CVE-2025-52047

CVE.ORG link : CVE-2025-52047


JSON object : View

Products Affected

frappe

  • erpnext
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')