Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-52049

In Frappe ErpNext v15.57.5, the function get_timesheet_detail_rate() at erpnext/projects/doctype/timesheet/timesheet.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting SQL query into the timelog parameter.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-52049
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 14:46 UTC · Revision 1

Source evidence

CVE-2025-52049

core-osv · Original source

Published 30 Sept 2025, 00:00 UTC

In Frappe ErpNext v15.57.5, the function get_timesheet_detail_rate() at erpnext/projects/doctype/timesheet/timesheet.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting SQL query into the timelog parameter.

osv:CVE-2025-52049
Complete source record
{
  "id": "7747d77ac0dad37a163bda21240d14848b7d23c0b1d799c645b4d65204d660c9",
  "url": "https://osv.dev/vulnerability/CVE-2025-52049",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-52049",
    "summary": "In Frappe ErpNext v15.57.5, the function get_timesheet_detail_rate() at erpnext/projects/doctype/timesheet/timesheet.py is vulnerable to SQL Injection, which allows an attacker to extract all information from databases by injecting SQL query into the timelog parameter.",
    "evidence": "osv:CVE-2025-52049",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-52049",
      "aliases": [
        "CVE-2025-52049"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/frappe/erpnext",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2eb7a688cba73582e57f58905a8e68d401b92987"
                },
                {
                  "last_affected": "2eb7a688cba73582e57f58905a8e68d401b92987"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:frappe:erpnext:15.57.5:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "15.57.5"
                      },
                      {
                        "last_affected": "15.57.5"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "15.57.5",
            "v15.57.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52049.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.312789152Z",
      "provider": "osv",
      "references": [
        "https://github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/blob/main/2025/Frappe%20Framework%20-%20Multiple%20SQL%20Injection.md",
        "https://github.com/frappe/erpnext/pull/49192/commits/e563ed0c75fd20135a6ad288e957e75eac7d3b8d",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52049.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-52049"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52049.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-52049",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519681,
  "published_at": "2025-09-30T00:00:00+00:00"
}