PT-2025-39992 · Frappe · Erpnext

Datnlq

+6

·

Published

2025-09-30

·

Updated

2025-09-30

·

CVE-2025-52050

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Frappe ERPNext version 15.57.5
Description The get loyalty program details with points() function located at erpnext/accounts/doctype/loyalty program/loyalty program.py is susceptible to SQL Injection. An attacker can inject a SQL query into the expiry date parameter, potentially allowing extraction of all information from databases.
Recommendations Apply a fix to the get loyalty program details with points() function at erpnext/accounts/doctype/loyalty program/loyalty program.py to prevent SQL Injection attacks.

Exploit

Fix

SQL injection

Weakness Enumeration

Related Identifiers

CVE-2025-52050

Affected Products

Erpnext