{"affected":[{"conditional":false,"product":"erpnext","source":"NVD","vendor":"frappe","versions":[{"status":"affected","version":"15.57.5","versionType":"custom"}]}],"cpeConfigurations":[{"negate":false,"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:frappe:erpnext:15.57.5:*:*:*:*:*:*:*","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"cveId":"CVE-2025-52044","cwes":["CWE-89"],"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.","epss":null,"exploits":[{"kind":"exploit","source":"cve@mitre.org","url":"https://github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/blob/main/2025/Frappe%20Framework%20-%20Multiple%20SQL%20Injection.md"}],"kev":null,"metrics":[{"score":7.5,"severity":"high","source":"NVD: 134c704f-9b21-4f2e-91b3-4a467353bcc0","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}],"modifiedAt":1794075000200,"publishedAt":1758032154783,"references":[{"source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"],"url":"https://github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/blob/main/2025/Frappe%20Framework%20-%20Multiple%20SQL%20Injection.md"},{"source":"cve@mitre.org","tags":["Patch"],"url":"https://github.com/frappe/erpnext/pull/49192/commits/eb22794f14351c2ff5731548c48bef0b91765c86"}],"remediation":[{"kind":"fix","source":"cve@mitre.org","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/frappe/erpnext/pull/49192/commits/eb22794f14351c2ff5731548c48bef0b91765c86"}],"revision":"795bf8a5c3f4528e455ef9dd88c3472eddac984798effe7c8509ef0e08394e60","sources":[{"modifiedAt":1794075000200,"name":"NVD","retrievedAt":1794075426074,"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52044"}],"ssvc":{"assessedAt":1758116507909,"automatable":"yes","exploitation":"none","source":"NVD SSVC: 134c704f-9b21-4f2e-91b3-4a467353bcc0","technicalImpact":"partial"},"status":"published","title":"CVE-2025-52044","updatedAt":1794075426074}