Skip to content

CVE-2025-52041 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 extrac...

HighCVSS 8.2 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
frappe ERPNext = 15.57.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
frappe ERPNext = 15.57.5 No fix listed

References