Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with import-role account
-
DeliveryCraft CSV with script payload in column header
-
ExploitUpload file via Data Import doctype
-
ExecutionPayload stored in import preview and warning messages
-
PersistVictim user navigates to import interface
-
ImpactScript executes in victim's browser session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold an active Frappe account with the 'Data Import' permission, which is typically granted to roles like 'System Manager' or custom import roles - not available to anonymous or basic end users. The Data Import feature must be in use and the victim must navigate to the import interface or view import results/warnings after the malicious file has been processed. Exploitation is blocked by: (1) absence of import permissions on the attacker's role, (2) the victim never viewing the affected import record, or (3) a strict Content Security Policy blocking inline script execution. The stored nature of the payload means the attacker does not need to interact with the victim directly after planting it. |
| Impact | The CVSS 4.0 base score of 5.1 (AV:N/AC:L/AT:N/PR:L/UI:P) is consistent with a stored XSS requiring low-privileged authentication and passive victim interaction. The scope change metrics SC:L and SI:L reflect the cross-user impact - a victim's browser context is the affected subsequent system, enabling session theft or interface manipulation at low severity. The requirement for PR:L meaningfully limits the attack surface: only users with data import permissions can plant a payload, which in practice restricts exploitation to internal or semi-trusted actors. The UI:P metric (passive interaction - victim need only navigate to the import view) lowers the barrier for payload delivery once planted. No EPSS data was provided. The absence of a CISA KEV entry and no identified public exploit code further reduce urgency. Real-world risk is moderate and primarily relevant to multi-tenant Frappe/ERPNext deployments where untrusted or low-trust users have import access; single-tenant or tightly permission-managed deployments face lower exposure. |
| Exploit ScenarioDerived | An authenticated internal user (or a compromised account) with data import access creates a CSV file whose column header contains a JavaScript payload such as a script tag or an event-handler-bearing attribute. After uploading the file through the Data Import interface, the malicious header is stored and rendered unescaped in preview and warning messages. When an administrator or another user opens the Data Import log or preview for that import record, the script executes silently in their browser, potentially exfiltrating session cookies or performing actions under their identity. No public proof-of-concept has been identified, but the fix diffs make the injection points straightforward to reconstruct. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
Stored cross-site scripting in Frappe's Data Import feature allows an authenticated user with import permissions to inject persistent script payloads via maliciously crafted column headers in imported files. The unescaped headers are rendered in import preview and warning messages, causing script execution in the browser of any other user who subsequently views the import interface. Affected are all Frappe deployments on the 15.x branch prior to 15.109.0 and the 16.x branch prior to 16.19.0; no active exploitation has been confirmed (no CISA KEV listing) and no public exploit code has been identified at time of analysis.
RemediationAI
Upgrade Frappe to version 16.19.0 (16.x branch) or 15.109.0 (15.x branch); these are the vendor-confirmed fixed releases per GitHub advisory GHSA-7f28-gm9h-q6rg (https://github.com/frappe/frappe/security/advisories/GHSA-7f28-gm9h-q6rg). The underlying changes are in commits 002a36a2668781366e4bf1ff144da5e53446f540 and 2bf7b9d0b4c7f815de1c85695e9a027ecce8bed9. If an immediate upgrade is not feasible, restrict the Data Import permission to only highly trusted internal users via Frappe's Role-based permission system, which removes the authenticated entry point; note this may disrupt bulk-import workflows. A Content Security Policy header that disallows inline scripts can limit the blast radius of any stored payload but does not eliminate the stored content and may break other Frappe UI components - evaluate against your deployment before applying.
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
Frappe is a Python and JavaScript full-stack web framework that underpins ERPNext and several other enterprise applications. The Data Import doctype allows privileged users to bulk-load records from CSV or Excel files. Column headers from the uploaded file are used in multiple rendering contexts: in the JavaScript import preview widget (import_preview.js), in the column-warning overlay (data_import.js), and in Python-generated warning messages returned by importer.py. In all these locations, the raw header_title value was interpolated directly into HTML or passed to frappe.bold() without sanitization, satisfying CWE-79 (Improper Neutralization of Input During Web Page Generation). The fix applied frappe.utils.escape_html() in JavaScript and escape_html() in Python across all five affected rendering sites, as confirmed by commits 002a36a and 2bf7b9d. Because the stored payload survives across sessions, this is a persistent (stored) XSS rather than a reflected variant.
Know when the next one hits your stack
- 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:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Network delivery, low complexity; PR:L for required import permission; UI:R for victim navigation; S:C and C:L/I:L for cross-user session impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
Frappe is a full-stack web application framework. Prior to 16.19.0 and 15.109.0, Data Import does not escape imported column headers before rendering previews and results, allowing an authenticated importer to persist script content that executes when another user views the import interface. This issue is fixed in versions 16.19.0 and 15.109.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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-54175
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB