Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege ERPNext credentials
-
DeliveryAccess EDI Module via authenticated session
-
ExploitCraft XML document with XXE external entity payload referencing target file
-
ExecutionSubmit document for processing
-
PersistServer XML parser resolves external entity and reads local file
-
ImpactRetrieve sensitive config data (credentials, secret keys) from response
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authentication is required: the CVSS 4.0 vector specifies PR:L (low-privilege authenticated access), meaning an attacker must hold a valid ERPNext account of any role. The vulnerable code path is specifically within the EDI Module - exploitation is conditional on that module being in use and accessible to the attacker's account role; installations that have not deployed or enabled EDI functionality are not exposed via this vector. No additional non-default configuration is required beyond the EDI Module being active. Factors limiting exploitation include: (1) authenticated access requirement eliminates unauthenticated internet scanners, (2) SSVC automatable=no indicates the attack path is not trivially scriptable at scale, and (3) the impact is read-only confidentiality (VI:N, VA:N), preventing direct data destruction or service disruption. |
| Impact | The CVSS 4.0 base score of 5.3 (Medium) reflects a network-reachable (AV:N), low-complexity (AC:L), no-prerequisite-condition (AT:N) attack requiring only low-privilege authentication (PR:L) with no user interaction (UI:N). The impact is limited to partial confidentiality of the vulnerable component (VC:L) with no integrity or availability consequence. EPSS at 0.06% (18th percentile) indicates very low near-term exploitation probability compared to all scored CVEs, consistent with CISA SSVC's assessments of exploitation=none and automatable=no - the latter suggesting exploitation requires attacker-specific knowledge of the EDI module's XML ingestion path rather than a generic spray-and-pray approach. There is no KEV listing and no confirmed POC. The primary real-world risk is credential harvesting: local config files in Frappe/ERPNext deployments typically contain database passwords and secret keys, meaning a successful read of site_config.json or similar could enable privilege escalation beyond the ERPNext application. Overall this is a genuine but lower-urgency finding: prioritize remediation in internet-exposed deployments or where ERPNext users include untrusted or external parties. |
| Exploit ScenarioDerived | An attacker with a valid low-privilege ERPNext account - such as a supplier portal user or a recently on-boarded employee - navigates to the EDI Module and submits a crafted XML document containing an external entity declaration referencing a local file path such as /home/frappe/frappe-bench/sites/[site]/site_config.json. The server's XML parser resolves the entity and the application returns the file's contents in its response, exposing the database password and Frappe secret key stored in that configuration file. No POC has been publicly confirmed, but the attack technique for CWE-611 is well-documented and requires no specialized tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
XML External Entity (XXE) injection in ERPNext's EDI Module allows authenticated low-privilege attackers to read arbitrary files from the server's local filesystem, including sensitive configuration files that may contain database credentials or API keys. Affected are all ERPNext installations on the v15 branch prior to 15.104.3 and on the v16 branch prior to 16.12.0 (cpe:2.3:a:frappe:erpnext:*). No public exploit identified at time of analysis, EPSS exploitation probability sits at 0.06% (18th percentile), and CISA SSVC assesses exploitation as none and the attack as non-automatable - collectively placing this at lower operational priority despite its network-accessible attack vector.
RemediationAI
Upgrade ERPNext to version 15.104.3 (v15 branch) or 16.12.0 (v16 branch) as the primary remediation; these are the vendor-confirmed fixed releases per GitHub Security Advisory GHSA-mhm9-75w7-423r (https://github.com/frappe/erpnext/security/advisories/GHSA-mhm9-75w7-423r). If immediate upgrade is not feasible, restrict access to the EDI Module to only users who operationally require it via ERPNext's role-based permission system - this reduces the authenticated attack surface without disabling the module globally. Additionally, enforce network-layer controls so that ERPNext is not directly accessible from untrusted networks, limiting unanticipated authenticated sessions. Note that disabling the EDI Module entirely will interrupt any active EDI-based procurement or logistics workflows; coordinate with business stakeholders before applying that workaround.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-611 (Improper Restriction of XML External Entity Reference) arises when an XML parser resolves external entity declarations - constructs of the form <!ENTITY xxe SYSTEM 'file:///etc/passwd'> - without disabling that feature. ERPNext's EDI (Electronic Data Interchange) module is the vulnerable surface: EDI workflows routinely process XML-formatted trade documents (invoices, purchase orders, ASNs), and if the underlying XML parser is not configured to forbid external entity resolution, a crafted document can cause the server process to open and return the contents of any file readable by the application's OS user. The affected package is frappe/erpnext (CPE cpe:2.3:a:frappe:erpnext:*) running on the Frappe framework. The confidentiality impact is scoped to the vulnerable component (VC:L, SC:N in CVSS 4.0), meaning lateral escape to other systems is not indicated.
Know when Erpnext gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.104.3 and 16.12.0, an improper restriction of XML external entity (XXE) reference vulnerability in the EDI Module enables an authenticated attacker to read files from the local file system, including sensitive configuration files. This vulnerability is fixed in 15.104.3 and 16.12.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.
Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c
SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa
Authenticated attackers with permission to create or modify Print Format documents in Frappe ERPNext through 15.89.0 can
Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A
Authenticated server-side template injection in Frappe ERPNext through 15.89.0 allows users with privileges to configure
An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev
Frappe Framework ERPNext 13.4.0 contains a sandbox escape vulnerability in RestrictedPython that allows authenticated us
EUVD-2026-30196
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB