CVE-2025-52043 SQL injection in n/a
An attacker can extract all database information by injecting SQL queries into the company parameter of the import_coa function in Frappe ERPNext.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-52043?
CVE-2025-52043 is a medium-severity SQL injection vulnerability in Frappe Erpnext, published on 30 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Frappe ERPNext v15.57.5, the function import_coa() at erpnext/accounts/doctype/chart_of_accounts_importer/chart_of_accounts_importer.py is vulnerable to SQL injection, which allows an attacker to extract all information from databases by injecting a SQL query into the company parameter.
Weakness: CWE-89
Which versions are affected by CVE-2025-52043?
It affects 1 product.
Products include Frappe Erpnext.
How do I fix CVE-2025-52043?
No fix has been published for CVE-2025-52043 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-52043 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-52043 exists.
Other vulnerabilities in Frappe Erpnext
Sources
Also known as GHSA-2v7w-xrvr-23w3.