CVE-2025-52050

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

In Frappe ERPNext 15.57.5, the function getloyaltyprogramdetailswithpoints() at erpnext/accounts/doctype/loyaltyprogram/loyaltyprogram.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting a SQL query into the expirydate parameter.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52050.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:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "15.57.5"
        },
        {
            "last_affected": "15.57.5"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

15.*
15.57.5
v15.*
v15.57.5

Database specific

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