CyberRota Analysis
AI-GeneratedERPNext versions prior to 15.116.0 and 16.23.0 are vulnerable due to an unvalidated doctype filter in the inactive_customers.py script, which allows authenticated users to execute arbitrary SQL queries. This vulnerability can lead to unauthorized data extraction and manipulation of the database, posing a significant risk to sensitive information. Organizations using affected versions should prioritize upgrading to the patched releases to mitigate potential exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.116.0 and 16.23.0, erpnext/selling/report/inactive_customers/inactive_customers.py accepts an unvalidated doctype filter and interpolates it into raw SQL in get_sales_details and get_last_sales_amt, allowing an authenticated user to extract sensitive information and manipulate database queries. This issue is fixed in versions 15.116.0 and 16.23.0.