cve.bz

CVE-2018-20061 frappe erpnext: SQL Injection

7.5 highEPSS 1.4%

High (7.5) in frappe erpnext. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2018-20061 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20061?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20061?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-20061 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
frappe:erpnextfrom 10.0.0 through 10.1.76
frappe:erpnextfrom 11.0.0 before 11.0.3
frappe:erpnext11.0.3:beta10
frappe:erpnext11.0.3:beta11
frappe:erpnext11.0.3:beta12
frappe:erpnext11.0.3:beta13
frappe:erpnext11.0.3:beta14
frappe:erpnext11.0.3:beta15
frappe:erpnext11.0.3:beta16
frappe:erpnext11.0.3:beta17
frappe:erpnext11.0.3:beta18
frappe:erpnext11.0.3:beta19
frappe:erpnext11.0.3:beta2
frappe:erpnext11.0.3:beta20
frappe:erpnext11.0.3:beta21
frappe:erpnext11.0.3:beta22
frappe:erpnext11.0.3:beta23
frappe:erpnext11.0.3:beta24
frappe:erpnext11.0.3:beta25
frappe:erpnext11.0.3:beta26
frappe:erpnext11.0.3:beta27
frappe:erpnext11.0.3:beta28
frappe:erpnext11.0.3:beta29
frappe:erpnext11.0.3:beta3
frappe:erpnext11.0.3:beta4
frappe:erpnext11.0.3:beta5
frappe:erpnext11.0.3:beta6
frappe:erpnext11.0.3:beta7
frappe:erpnext11.0.3:beta8
frappe:erpnext11.0.3:beta9

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON