CVE-2025-52040: frappe erpnext SQL Injection
CVSS: 8.2v3.1HighAnalyzed
Published 01-10-2025Last modified 01-10-2025
Vulnerability summary
CVE-2025-52040 is a high (CVSS 8.2) SQL Injection vulnerability in frappe erpnext. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 24.3% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
8.2/10
010
High · v3.1 (CVE.org)EPSS score
0.33%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
Timeline
- 01-10-2025PublishedVulnerability first disclosed.
- 01-10-2025Last modifiedVulnerability information updated.
Description
In Frappe ERPNext 15.57.5, the function get_blanket_orders() at erpnext/controllers/queries.py is vulnerable to SQL Injection, which allows an attacker can extract all information from databases by injecting a SQL query into the blanket_order_type parameter.
CVSS metrics
2 scores · 2 sources · 1 versionHigh 8.2Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:NSourcesAll 2 agree
- NVDNIST8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS trend
Probability
0.33%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
0.00 pp
From 0.33% on 20-09-2026
20-09-202620-10-2026
EPSS score0.33%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundVulnerability Disclosures
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Frappe1 product
- erpnext15.57.5
1 vendor · 1 product