{"id":"CVE-2025-52039","aliases":["CVE-2025-52039"],"related":[],"kind":"vulnerability","state":"published","title":"In Frappe ERPNext 15.57.5, the function getmaterialrequestsbasedonsupplier() at erpnext/stock/doctype/materialrequest/materialrequest.py is…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En Frappe ERPNext 15.57.5, la función get_material_requests_based_on_supplier() en erpnext/stock/doctype/material_request/material_request.py es vulnerable a inyección SQL, lo que permite a un atacante extraer toda la información de las bases de datos inyectando una consulta SQL en el parámetro txt.","source":"nvd"}],"published":"2025-10-01T00:00:00.000Z","modified":"2026-11-05T23:10:00.150Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"}],"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/de919568b4f7a86c8d418c0c3fd88e1f3101696c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-10-01T14:47:49.408Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-52039","url":"https://www.cve.org/CVERecord?id=CVE-2025-52039","licence":"CVE Terms of Use","modified":"2025-10-01T14:48:38.885Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-52039","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52039","licence":"Public domain","modified":"2026-11-05T23:10:00.150Z"}],"updatedAt":"2026-11-25T22:59:05.399Z","epss":{"score":0.00338,"percentile":0.29203,"date":"2026-12-01T12:00:22.000Z"}}