CyberRota Analysis
AI-GeneratedThe get_tax_template function in ERPNext versions prior to 15.109.0 and 16.20.0 is vulnerable to SQL injection due to improper handling of user-supplied input in constructing SQL queries. This flaw allows authenticated low-privilege users to manipulate the SQL WHERE clause, potentially leading to the extraction of sensitive information from the database. Organizations using affected versions should prioritize upgrading to the patched versions to mitigate the risk of data exposure.
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.109.0 and 16.20.0, the get_tax_template function in erpnext/accounts/doctype/tax_rule/tax_rule.py constructs an SQL WHERE clause from request-influenced posting_date and args values, allowing an authenticated low-privilege user to inject SQL and extract sensitive information. This issue is fixed in versions 15.109.0 and 16.20.0.