CVE-2018-20061
CVE-2018-20061 is a high-severity vulnerability in Frappe Erpnext with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 1% (70th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-89
- Affected product: Frappe Erpnext
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2018-20061?
- 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.
- How severe is CVE-2018-20061?
- CVE-2018-20061 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2018-20061 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (70th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-20061?
- CVE-2018-20061 primarily affects Frappe Erpnext. In total, 29 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2018-20061?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2018-20061 published?
- CVE-2018-20061 was published on 2018-12-11 and last updated on 2026-06-17.
References
Affected products (29)
- cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta10:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta11:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta12:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta13:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta14:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta15:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta16:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta17:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta18:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta19:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta2:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta20:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta21:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta22:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta23:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta24:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta25:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta26:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta27:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta28:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta29:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta3:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta4:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta5:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta6:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta7:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta8:*:*:*:*:*:*
- cpe:2.3:a:frappe:erpnext:11.0.3:beta9:*:*:*:*:*:*
More vulnerabilities in Frappe Erpnext
- CVE-2026-44442 — Critical (CVSS 9.9): ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 16.9.1, certain endpoints failed to…
- CVE-2026-38431 — Critical (CVSS 9.8): ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI). An attacker with permission to…
- CVE-2025-67289 — Critical (CVSS 9.6): An arbitrary file upload vulnerability in the Attachments module of Frappe Framework v15.89.0 allows attackers to…
- CVE-2026-31017 — Critical (CVSS 9.1): A Server-Side Request Forgery (SSRF) vulnerability exists in the Print Format functionality of ERPNext v16.0.1 and…
- CVE-2026-27471 — Critical (CVSS 9.1): ERP is a free and open source Enterprise Resource Planning tool. In versions up to 15.98.0 and 16.0.0-rc.1 and through…
- CVE-2025-65267 — Critical (CVSS 9.0): In ERPNext v15.83.2 and Frappe Framework v15.86.0, improper validation of uploaded SVG avatar images allows attackers…
All CVEs affecting Frappe Erpnext →
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…