CVE-2018-20061

HIGH

ERPNext 10.x-11.0.3-beta.29 - SQL Injection

Title source: llm
STIX 2.1

Description

A SQL injection issue was discovered in ERPNext 10.x and 11.x through 11.0.3-beta.29. This attack is only available to a logged-in user; however, many ERPNext sites allow account creation via the web. No special privileges are needed to conduct the attack. By calling a JavaScript function that calls a server-side Python function with carefully chosen arguments, a SQL attack can be carried out which allows SQL queries to be constructed to return any columns from any tables in the database. This is related to /api/resource/Item?fields= URIs, frappe.get_list, and frappe.call.

References (1)

Core 1
Core References
Third Party Advisory x_refsource_misc
https://github.com/frappe/erpnext/issues/15337

Scores

CVSS v3 7.5
EPSS 0.0143
EPSS Percentile 70.1%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-89
Status published
Products (2)
frappe/erpnext 11.0.3 beta10 (28 CPE variants)
frappe/erpnext 10.0.0 - 10.1.76
Published Dec 11, 2018
Tracked Since Feb 18, 2026