In Frappe ERPNext v15.57.5, the function get_stock_balance() at erpnext/stock/utils.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting SQL query into inventory_dimensions_dict parameter.
History

Wed, 17 Sep 2025 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-89
Metrics cvssV3_1

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

ssvc

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


Wed, 17 Sep 2025 11:00:00 +0000

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

Tue, 16 Sep 2025 13:45:00 +0000

Type Values Removed Values Added
Description In Frappe ERPNext v15.57.5, the function get_stock_balance() at erpnext/stock/utils.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting SQL query into inventory_dimensions_dict parameter.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-09-17T13:43:03.696Z

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

Link: CVE-2025-52044

cve-icon Vulnrichment

Updated: 2025-09-17T13:42:57.188Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-09-16T14:15:54.783

Modified: 2025-09-17T14:18:55.093

Link: CVE-2025-52044

cve-icon Redhat

No data.