# CVE-2025-52042: In Frappe ERPNext 15.57.5, the function getrfqcontainingsupplier() at erpnext/buying/doctype/requestforquotation/requestforquotation.py is…

- Severity: High 8.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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.33%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-10-01T00:00:00.000Z
- Modified: 2026-11-05T23:10:00.150Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/request_for_quotation.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting SQL query via the txt 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/7f2a52ff71a1fd5d4a9034cf217094c0be9f341a> (patch)

## Sources

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

---

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