PT-2025-40245
CVE-2025-52041
·
Published
2025-10-01
·
Updated
2025-10-06
Description by
CVSS 3.1
8.2
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Frappe ERPNext version 15.57.5
Description
The
get stock balance for() function located at erpnext/stock/doctype/stock reconciliation/stock reconciliation.py is susceptible to SQL Injection. An attacker can inject a SQL query through the inventory dimensions dict parameter, potentially allowing extraction of all information from databases.Recommendations
Apply a fix to the
get stock balance for() function at erpnext/stock/doctype/stock reconciliation/stock reconciliation.py to prevent SQL Injection through the inventory dimensions dict parameter.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾