{"id":"CVE-2025-52041","aliases":["CVE-2025-52041"],"related":[],"kind":"vulnerability","state":"published","title":"In Frappe ERPNext 15.57.5, the function getstockbalancefor() at erpnext/stock/doctype/stockreconciliation/stockreconciliation.py is vulnera…","summary":"In Frappe ERPNext 15.57.5, the function get_stock_balance_for() at erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting a SQL query into the inventory_dimensions_dict parameter.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Frappe ERPNext 15.57.5, the function get_stock_balance_for() at erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting a SQL query into the inventory_dimensions_dict parameter.","source":"cvelist"},{"lang":"es","text":"En Frappe ERPNext 15.57.5, la función get_stock_balance_for() en erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.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 inventory_dimensions_dict.","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/eb22794f14351c2ff5731548c48bef0b91765c86","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-10-01T14:44:38.159Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-52041","url":"https://www.cve.org/CVERecord?id=CVE-2025-52041","licence":"CVE Terms of Use","modified":"2025-10-01T14:45:19.831Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-52041","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52041","licence":"Public domain","modified":"2026-11-05T23:10:00.150Z"}],"updatedAt":"2026-11-25T22:59:05.400Z","epss":{"score":0.00338,"percentile":0.29171,"date":"2026-12-02T12:00:21.000Z"}}