High severity · published Dec 11, 2018
CVE-2018-20061
A SQL injection issue was discovered in ERPNext 10.x and 11.x through 11.0.3-beta.29
7.5
CVSS
1.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 73% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ER
Erpnext · Frappe
10.0.0 through 10.1.76; 11.0.0 before 11.0.3; 11.0.3; 11.0.3; 11.0.3; 11.0.3; +24 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-20061
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-20061
Third Party Advisory
https://github.com/frappe/erpnext/issues/15337
More from Erpnext
9.9
CVE-2026-65974
ERPNext: Server-Side Template Injection leading to Remote Code Execution
9.9
CVE-2026-72911
ERPNext: Possibility of server-side template injection due to missing validation
9.9
CVE-2026-44442
ERPNext: Unauthorised Document modification due to missing validation
9.8
CVE-2026-38431
ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI)
9.6
CVE-2025-67289
An arbitrary file upload vulnerability in the Attachments module of Frappe Framework v15.89.0 allows attackers to execute arbitrary code via uploading a crafted XML file
