Live threats

All CVEs / Frappe

CVE-2018-20061Frappe Erpnext

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Dec 11, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Erpnext.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
frappeerpnext≥ 10.0.0 ≤ 10.1.76
frappeerpnext≥ 11.0.0 < 11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3
frappeerpnext11.0.3

Official sources

References

Links published by the sources. Open them with care.