CVE-2025-52044

Source
https://cve.org/CVERecord?id=CVE-2025-52044
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52044.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-52044
Published
2025-09-16T00:00:00Z
Modified
2026-07-15T01:49:16.056683105Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

In Frappe ERPNext v15.57.5, the function getstockbalance() 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 inventorydimensionsdict parameter.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52044.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/frappe/erpnext

Affected ranges

Type
GIT
Repo
https://github.com/frappe/erpnext
Events
Database specific
{
    "cpe": "cpe:2.3:a:frappe:erpnext:15.57.5:*:*:*:*:*:*:*",
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "15.57.5"
        },
        {
            "last_affected": "15.57.5"
        }
    ]
}

Affected versions

15.*
15.57.5
v15.*
v15.57.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52044.json"