CVE-2018-20061: frappe erpnext SQL Injection
Vulnerability summary
CVE-2018-20061 is a high (CVSS 7.5) SQL Injection vulnerability in frappe erpnext. EPSS estimates a 1.43% chance of exploitation in the next 30 days, higher than 72.7% of scored vulnerabilities.
Timeline
- 11-12-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
1.43%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
0.00 pp
From 1.43% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Frappe1 product
- erpnext≥ 10.0.0, ≤ 10.1.76 | ≥ 11.0.0, < 11.0.3 | 11.0.3:beta10 | 11.0.3:beta11 | 11.0.3:beta12 | 11.0.3:beta13 | 11.0.3:beta14 | 11.0.3:beta15 | 11.0.3:beta16 | 11.0.3:beta17 | 11.0.3:beta18 | 11.0.3:beta19 | 11.0.3:beta2 | 11.0.3:beta20 | 11.0.3:beta21 | 11.0.3:beta22 | 11.0.3:beta23 | 11.0.3:beta24 | 11.0.3:beta25 | 11.0.3:beta26 | 11.0.3:beta27 | 11.0.3:beta28 | 11.0.3:beta29 | 11.0.3:beta3 | 11.0.3:beta4 | 11.0.3:beta5 | 11.0.3:beta6 | 11.0.3:beta7 | 11.0.3:beta8 | 11.0.3:beta9
1 vendor · 1 product