Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate with low-privilege Frappe account
-
DeliveryEnumerate target user's workspace document name
-
ExploitSubmit save_page API call with victim workspace identifier
-
InstallInject malicious JavaScript in workspace blocks payload
-
C2Victim opens modified workspace in browser
-
ExecuteScript executes in victim's authenticated session
-
ImpactExfiltrate session token or perform privileged actions
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 | Exploitation requires a valid authenticated user account on the target Frappe instance; any role that has access to the Workspace Save API endpoint is sufficient (PR:L per the CVSS 4.0 vector - no elevated privileges required). The attacker must know or enumerate the target user's workspace document name, which is obtainable via the workspace listing API available to authenticated users. Victim interaction is required: the target user must open their (now-modified) workspace in a browser for the injected script to execute (UI:P). The vulnerability affects all private workspace types in Frappe versions prior to 16.18.0 with no special configuration required. Limiting factors: (1) the attacker must possess a valid account on the same Frappe instance - unauthenticated exploitation is not possible; (2) XSS payload execution is deferred until the victim views their workspace; (3) Frappe instances that restrict self-registration or limit account creation to administrators significantly reduce the attacker population. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N) yields a score of 5.1 (Medium). Key signals: exploitation requires an authenticated session (PR:L), limiting exposure to existing account holders; the XSS payload only executes when the victim opens their workspace (UI:P), requiring social engineering or patience but no additional attacker effort. No EPSS score was supplied and the vulnerability is absent from CISA KEV; no public POC or exploit code has been identified at time of analysis. The absence of confidentiality impact in the vulnerable-system metrics (VC:N) slightly underrepresents stored XSS risk - session token theft is a realistic downstream outcome - though SC:L/SI:L partially capture cross-user effects. Real-world priority is moderate-to-high for multi-user Frappe/ERPNext deployments: any low-privilege account holder can target higher-privilege users (administrators, managers) to hijack sessions or perform privileged actions. Single-user or tightly access-controlled deployments face substantially lower risk. |
| Exploit ScenarioDerived | An attacker with a valid low-privilege Frappe account calls the Workspace Save API, supplying the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
Workspace Save API in Frappe prior to version 16.18.0 permits any authenticated user to overwrite another user's private workspace by supplying an arbitrary workspace identifier, and to inject persistent malicious scripts into that workspace. The root cause is a missing ownership check in the save_page handler in frappe/desk/doctype/workspace/workspace.py, confirmed by the vendor fix and classified as stored XSS (CWE-79). No public exploit code has been identified and this vulnerability is not listed in CISA KEV, though the low exploitation complexity for any authenticated user and the persistent, targeted nature of the injection make it a meaningful risk in all multi-user Frappe and ERPNext deployments.
RemediationAI
Upgrade Frappe to version 16.18.0 or later, which is the vendor-confirmed fixed release. The patch introduces an ownership check in save_page that enforces is_workspace_manager() and doc.for_user == frappe.session.user before persisting workspace content; the fix commit is available at https://github.com/frappe/frappe/commit/8ef9e9076293c3f567b734ac9b1b81e63b805ab5. The full security advisory is at https://github.com/frappe/frappe/security/advisories/GHSA-mcr4-jc52-ww6x. If immediate patching is not feasible, a compensating control is to revoke write access to the Workspace doctype for all untrusted roles at the Frappe permission level - this eliminates workspace save access entirely for those roles but also disables legitimate workspace customization, which is a significant functional trade-off. Network-perimeter controls are ineffective because the attack originates from authenticated internal users via standard API requests.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package 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/JavaScript full-stack web framework that underpins ERPNext and a broad ecosystem of business applications. The vulnerable component is the save_page function in frappe/desk/doctype/workspace/workspace.py, which accepts a client-controlled name parameter identifying the target workspace document without verifying that the requesting session user owns that document. Because Frappe workspaces persist blocks and widget configurations that are subsequently rendered in the browser, an attacker can embed arbitrary JavaScript in a victim's workspace document. When the victim opens their workspace, the injected script executes in their authenticated browser session - a classic stored XSS pattern. The root cause maps to CWE-79 (Improper Neutralization of Input During Web Page Generation), confirmed by the vendor's XSS tag and the nature of the fix, which introduces is_workspace_manager() and doc.for_user == frappe.session.user ownership assertions before persisting workspace content.
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:L/VA:N/SC:L/SI:L/SA:N
Network API requires authenticated low-privilege user (PR:L); victim must view workspace to trigger stored XSS (UI:R); script executes in victim's session crossing scope boundary (S:C), enabling session theft (C:L) and workspace content tampering (I:L).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
Frappe is a full-stack web application framework. Prior to 16.18.0, the Workspace Save API accepts a controlled workspace identifier from any authenticated user without enforcing workspace ownership, allowing modification of another user's private workspace and persistent script injection. This issue is fixed in version 16.18.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-54152
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB