# CVE-2025-52895: Frappe possibility of SQL injection due to improper validations

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA: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.43%, higher than 39% of CVEs (2026-12-02)
- Published: 2025-06-30T17:05:36.027Z
- Modified: 2026-06-17T09:37:13.970Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Frappe is a full-stack web application framework. Prior to versions 14.94.3 and 15.58.0, SQL injection could be achieved via a specially crafted request, which could allow malicious person to gain access to sensitive information. This issue has been patched in versions 14.94.3 and 15.58.0. There are no workarounds for this issue other than upgrading.

(As written by CVE List.)

## Affected

- frappe frappe: < 15.58.0; < 14.94.3; before 14.94.3; from 15.0.0 before 15.58.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/frappe/frappe/security/advisories/GHSA-mhj8-jfhf-mcw9> (vendor-advisory)
- <https://github.com/frappe/frappe/pull/31526> (issue-tracking)
- <https://github.com/frappe/frappe/commit/c795e351be033070174437324d74f44759a744a6> (patch)
- <https://github.com/frappe/frappe/commit/f0933590103c80c6393647dd0403d399e64c951c> (patch)

## Sources

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

---

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