Medium severity · published Sep 30, 2025
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…
6.5
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 18% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ER
Erpnext · Frappe
15.57.5 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-52047
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-52047
Exploit
https://github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/blob/main/2025/Frappe%20Framework%20-%20Multiple%20SQL%20Injection.md
Patch
https://github.com/frappe/erpnext/pull/49192/commits/6320f7290f93a5278ffdfaa790af70427c20a1c8
More from Erpnext
9.9
CVE-2026-65974
ERPNext: Server-Side Template Injection leading to Remote Code Execution
9.9
CVE-2026-72911
ERPNext: Possibility of server-side template injection due to missing validation
9.9
CVE-2026-44442
ERPNext: Unauthorised Document modification due to missing validation
9.8
CVE-2026-38431
ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI)
9.6
CVE-2025-67289
An arbitrary file upload vulnerability in the Attachments module of Frappe Framework v15.89.0 allows attackers to execute arbitrary code via uploading a crafted XML file
