CVE-2025-52039: frappe erpnext SQL Injection
Vulnerability summary
CVE-2025-52039 is a high (CVSS 8.2) SQL Injection vulnerability in frappe erpnext. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 25.9% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 01-10-2025PublishedVulnerability first disclosed.
- 01-10-2025Last modifiedVulnerability information updated.
Description
In Frappe ERPNext 15.57.5, the function get_material_requests_based_on_supplier() at erpnext/stock/doctype/material_request/material_request.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting a SQL query into the txt parameter.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.34% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundVulnerability Disclosures
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Frappe1 product
- erpnext15.57.5
1 vendor · 1 product