{"id":"CVE-2025-52050","aliases":["CVE-2025-52050"],"related":[],"kind":"vulnerability","state":"published","title":"In Frappe ERPNext 15.57.5, the function getloyaltyprogramdetailswithpoints() at erpnext/accounts/doctype/loyaltyprogram/loyaltyprogram.py i…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En Frappe ERPNext 15.57.5, la función get_loyalty_program_details_with_points() en erpnext/accounts/doctype/loyalty_program/loyalty_program.py es vulnerable a inyección SQL, lo que permite a un atacante extraer toda la información de las bases de datos mediante la inyección de una consulta SQL en el parámetro expiry_date.","source":"nvd"}],"published":"2025-09-30T00:00:00.000Z","modified":"2026-06-17T09:35:58.347Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"15.57.5"}],"vendor":"frappe","product":"erpnext","cpe":"cpe:2.3:a:frappe:erpnext:15.57.5:*:*:*:*:*:*:*","source":"nvd"}],"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"],"sources":["cvelist","nvd"]},{"url":"https://github.com/frappe/erpnext/pull/49192/commits/8696ba2f5d9e99c799d4aef577f72f2fae5678e7","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-09-30T19:41:00.118Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-52050","url":"https://www.cve.org/CVERecord?id=CVE-2025-52050","licence":"CVE Terms of Use","modified":"2025-09-30T19:41:37.443Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-52050","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52050","licence":"Public domain","modified":"2026-06-17T09:35:58.347Z"}],"updatedAt":"2026-11-25T22:59:05.360Z","epss":{"score":0.00268,"percentile":0.20178,"date":"2026-12-01T12:00:22.000Z"}}