{"id":"CVE-2025-52050","aliases":["EUVD-2025-31736","GHSA-9jr7-wh3w-2599"],"status":"published","title":"In Frappe ERPNext 15.57.5, the function get_loyalty_program_details_with_points() at erpnext...","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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-12","score":0.00268,"percentile":0.19092,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2025-09-30T00:00:00Z","modified":"2026-10-28T02:30:51Z","products":[{"vendor":"frappe","product":"erpnext"}],"references":[{"url":"https://github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/blob/main/2025/Frappe%20Framework%20-%20Multiple%20SQL%20Injection.md","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://github.com/frappe/erpnext/pull/49192/commits/8696ba2f5d9e99c799d4aef577f72f2fae5678e7","tags":["Patch","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52050","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9jr7-wh3w-2599"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52050.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-52050","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.","status":"published","published":"2025-09-30T00:00:00Z","modified":"2025-09-30T19:41:37.443Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:32:31.309974Z"}],"euvd":[{"id":"EUVD-2025-31736","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.","status":"published","published":"2025-09-30T00:00:00Z","modified":"2025-09-30T19:41:37Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:31:37.600422Z"}],"ghsa":[{"id":"GHSA-9jr7-wh3w-2599","title":"In Frappe ERPNext 15.57.5, the function get_loyalty_program_details_with_points() at erpnext...","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.","status":"published","published":"2025-09-30T15:30:30Z","modified":"2025-09-30T21:32:18Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:03:49.069159Z"}],"nvd":[{"id":"CVE-2025-52050","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.","status":"published","published":"2025-09-30T14:15:39.893Z","modified":"2026-06-17T09:35:58.347Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:11:34.090044Z"}],"osv":[{"id":"CVE-2025-52050","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.","status":"published","published":"2025-09-30T00:00:00Z","modified":"2026-10-28T02:30:51.311201305Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:50.45326Z"}]}}
