Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with high-privilege Frappe account
-
DeliveryPerform action captured by Audit Trail with injected XSS payload
-
ExploitPayload persisted in application database
-
ExecutionVictim administrator navigates to Audit Trail
-
PersistStored script executes in victim browser
-
ImpactSession context or DOM integrity compromised
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 the attacker to possess a high-privilege account within the Frappe Framework instance, sufficient to perform actions that are captured and displayed by the Audit Trail component - this is confirmed by PR:H in the CVSS 4.0 vector. A separate privileged victim user must actively open the Audit Trail interface for the payload to execute, as confirmed by UI:A in the vector. The Audit Trail feature must be enabled and in active use. Exploitation is limited by the following factors: low-privilege or unauthenticated users cannot plant the payload; users who never access the Audit Trail are not exposed; the payload has no direct server-side impact and cannot affect the Frappe application process itself. The vulnerability is not exploitable from default configurations by external unauthenticated attackers. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:A) bounds real-world risk tightly. PR:H is the most significant limiting factor - the attacker must already hold a high-privilege account within the Frappe instance to plant a payload, ruling out external unauthenticated threats. UI:A means exploitation only completes when a second privileged user actively opens the Audit Trail, adding a second dependency. Impact is scoped entirely to the subsequent system (victim browser): low confidentiality and low integrity, with zero impact on the Frappe server itself. EPSS data is not present in the supplied intelligence, and the CVE does not appear in CISA KEV, meaning no confirmed in-the-wild exploitation has been observed. No public PoC is identified in the available data. The net picture is a genuine insider or compromised-account risk scenario, not a broadly exploitable external threat - the high-CVSS-but-low-real-risk dynamic does not apply here since the score already reflects the constrained attack conditions. |
| Exploit ScenarioDerived | An attacker with a high-privilege Frappe account (e.g., a malicious insider or an adversary who has compromised an administrator credential) performs an action that generates an Audit Trail entry and embeds a JavaScript payload in a user-controlled field captured by the trail. When a separate administrator later navigates to the Audit Trail view, the stored script executes silently in their browser, potentially exfiltrating session tokens or performing actions on their behalf. No public exploit code has been identified, though stored XSS techniques are broadly documented and straightforward to execute once the preconditions are met. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Stored XSS in Frappe Framework 17.0.0-dev allows a high-privileged authenticated attacker to inject persistent malicious scripts into the Audit Trail component, which then execute in the browsers of other privileged users who view that trail. The vulnerability arises from improper input neutralization (CWE-79) before HTML rendering in the audit logging subsystem, and is assigned a CVSS 4.0 score of 4.6 reflecting the high-privilege prerequisite and required victim interaction. No public exploit code has been identified and this CVE is not listed in CISA KEV at time of analysis.
RemediationAI
No vendor-released patch version has been confirmed from the available data; the upstream Frappe repository at https://github.com/frappe/frappe should be monitored for commits or tagged releases that address stored XSS in the Audit Trail component. The Fluid Attacks advisory at https://fluidattacks.com/es/advisories/rufus may contain additional remediation detail. As compensating controls: enforce a strict Content Security Policy (CSP) header on all Frappe deployments that disables inline script execution (script-src 'self'), which will block injected payloads from running even if stored - note that CSP changes may break legitimate inline scripts in the application and require testing. Restrict Audit Trail access to the minimum necessary set of privileged users, reducing the pool of potential victims. Audit existing trail entries for anomalous HTML or script content and sanitize as needed.
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 full-stack Python/JavaScript open-source web framework (CPE: cpe:2.3:a:frappe:frappe_framework:*:*:*:*:*:*:*:*) that serves as the foundation for ERPNext and a range of business applications. The Audit Trail component records privileged user actions for compliance and accountability purposes, and its output is rendered in the browser for administrative review. CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting) identifies the root cause: user-controlled data written into audit entries is stored and later rendered without adequate HTML encoding or sanitization, allowing injected script tags or event handlers to survive storage and execute upon page load. Because the Audit Trail is typically consumed by administrators and system managers, the execution context is a privileged user session.
Know when Frappe 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:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
High privilege required to store payload and victim interaction required to trigger; scope changes to victim browser, yielding low C/I with no server-side availability impact.
Primary rating from Vendor (Fluid Attacks).
CVSS VectorVendor: Fluid Attacks
DescriptionCVE.org
A Stored Cross-Site Scripting (XSS) vulnerability exists in Frappe Framework version 17.0.0-dev due to improper neutralization of user-controlled input before generating HTML output in the Audit Trail component.
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.
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 server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A
An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev
Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie
SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL
In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re
EUVD-2026-38794
GHSA-7g37-3vxg-pc3v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB