Impact
A flaw in Frappe’s ERPNext allows an authenticated user to inject arbitrary SQL through the Supplier record name field. The application builds SQL statements using string interpolation without parameterization, so characters that change query semantics can be interpreted by the database. This leads to arbitrary SQL execution and the ability to bypass normal document permissions, exposing sensitive data such as password hashes, integration tokens, and financial records.
Affected Systems
The vulnerability affects Frappe ERPNext versions 15.107.0 and 15.107.2. The issue has been fixed in release 15.111.0 and 16.22.0.
Risk and Exploitability
The CVSS base score of 7.1 indicates a high impact risk. An EPSS figure of less than 1% suggests exploitation is currently unlikely, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector is inferred to be through the web interface by any authenticated user, even with low privileges, who can supply a Supplier name containing SQL metacharacters to trigger the injection.
OpenCVE Enrichment