# CVE-2025-66439: An issue was discovered in Frappe ERPNext through 15.89.0.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.41%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-15T00:00:00.000Z
- Modified: 2026-10-14T13:10:00.187Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

An issue was discovered in Frappe ERPNext through 15.89.0. Function get_outstanding_reference_documents() at erpnext.accounts.doctype.payment_entry.payment_entry.py is vulnerable to SQL Injection. It allows an attacker to extract arbitrary data from the database by injecting SQL payloads via the from_posting_date parameter, which is directly interpolated into the query without proper sanitization or parameter binding.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- frappe erpnext: up to 15.89.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://iamanc.github.io/post/erpnext-sqli> (exploit, third-party-advisory)
- <https://github.com/frappe/frappe/security> (product)

## Sources

- CVE List: [CVE-2025-66439](https://www.cve.org/CVERecord?id=CVE-2025-66439), CVE Terms of Use, modified 2025-12-16
- NVD: [CVE-2025-66439](https://nvd.nist.gov/vuln/detail/CVE-2025-66439), Public domain, modified 2026-10-14

---

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