CVE-2025-52050: frappe erpnext SQL Injection
Vulnerability summary
CVE-2025-52050 is a medium (CVSS 6.5) SQL Injection vulnerability in frappe erpnext. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 17.8% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 30-09-2025PublishedVulnerability first disclosed.
- 30-09-2025Last modifiedVulnerability information updated.
Description
In Frappe ERPNext 15.57.5, the function get_loyalty_program_details_with_points() at erpnext/accounts/doctype/loyalty_program/loyalty_program.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting a SQL query into the expiry_date parameter.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.27% 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