# CVE-2025-52047: In Frappe ErpNext v15.57.5, the function getincomeaccount() at erpnext/controllers/queries.py is vulnerable to SQL Injection, which allows…

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-30T00:00:00.000Z
- Modified: 2026-06-17T09:35:57.877Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/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> (exploit, third-party-advisory)
- <https://github.com/frappe/erpnext/pull/49192/commits/6320f7290f93a5278ffdfaa790af70427c20a1c8> (patch)

## Sources

- CVE List: [CVE-2025-52047](https://www.cve.org/CVERecord?id=CVE-2025-52047), CVE Terms of Use, modified 2025-09-30
- NVD: [CVE-2025-52047](https://nvd.nist.gov/vuln/detail/CVE-2025-52047), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-52047 · Whole record: https://cve.day/CVE-2025-52047.json · Rebuilt by cve.day 2026-11-25T22:59:05.359Z
