Description
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.
References
github.com/...5/Frappe Framework - Multiple SQL Injection.md
github.com/...mmits/eb22794f14351c2ff5731548c48bef0b91765c86