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.
History

Fri, 03 Oct 2025 16:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:frappe:erpnext:15.57.5:*:*:*:*:*:*:*

Thu, 02 Oct 2025 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Frappe
Frappe erpnext
Vendors & Products Frappe
Frappe erpnext

Wed, 01 Oct 2025 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-89
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Oct 2025 14:45:00 +0000

Type Values Removed Values Added
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

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2025-10-01T00:00:00.000Z

Updated: 2025-10-01T14:45:19.831Z

Reserved: 2025-06-16T00:00:00.000Z

Link: CVE-2025-52041

cve-icon Vulnrichment

Updated: 2025-10-01T14:45:01.125Z

cve-icon NVD

Status : Analyzed

Published: 2025-10-01T15:15:46.537

Modified: 2025-10-03T16:19:17.207

Link: CVE-2025-52041

cve-icon Redhat

No data.