SQL Injection in Frappe Erpnext

CVE-2025-52043

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.

Vulnerability class: SQL Injection

EPSS: 0.002 (15.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-52043?
CVE-2025-52043 is a medium-severity vulnerability in Frappe Erpnext, classified under SQL Injection. CVSS score: 6.5/10. Published 2025-09-30.
How severe is CVE-2025-52043?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2025-52043 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.