Description
Frappe ERPNext 7.0.0 before 15.122.0 and 16.x before 16.50.0 contains an SQL injection vulnerability in endpoints that build part of a query from caller-supplied sort parameters without validation. Authenticated low-privilege users can send crafted requests whose sort parameter holds SQL that the database executes as part of the query, extracting sensitive information.
Affected products and versions
frappe erpnext7.0.0 – < 15.122.0Fixed in: 15.122.0
frappe erpnext16.0.0 – < 16.50.0Fixed in: 16.50.0
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- None
- Availability
- None
Weakness type (CWE)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
- github.com/frappe/erpnext/security/advisories/GHSA-2f98-mq8r-pvrh vendor advisory
- www.vulncheck.com/advisories/frappe-erpnext-7.0.0-before-15.122.0-sql-injection-via-sort-p
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.