Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate with high-privilege Frappe account
-
DeliveryAccess Auto Repeat module write endpoint (whitelisted path)
-
ExploitInject JavaScript payload into reference_document field
-
InstallPayload persisted to database without sanitization
-
C2Victim user opens affected Auto Repeat form
-
ExecuteStored script executes in victim browser context
-
ImpactSession token or sensitive data exfiltrated
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 an authenticated Frappe Framework user account with write access to the Auto Repeat module (PR:H per CVSS 4.0 vector) - a non-default, privileged role assignment, not a capability granted to standard users. The attacker must use the whitelisted write path (a specific API or UI route that the framework's permission model allows) to persist the payload in the reference_document field. A second condition - victim interaction (UI:A) - is mandatory: a separate user must navigate to and open the specific affected Auto Repeat form for the stored script to execute in their browser. Exploitation is therefore bounded by: (1) the attacker requiring elevated Auto Repeat write privileges; (2) the target application being a development build (17.0.0-dev) or an as-yet-unconfirmed stable version; and (3) a victim with Auto Repeat read access actively opening the poisoned record. Deployments where Auto Repeat write access is tightly restricted to a small group of trusted administrators are at substantially lower risk. |
| Impact | The CVSS 4.0 score of 4.6 (Medium) accurately reflects constrained but real exploitation conditions. PR:H (high privilege required) is the dominant risk-limiting factor: an attacker must first obtain an authenticated account with write access to Auto Repeat before injection is possible, ruling out unauthenticated mass exploitation. UI:A (active user interaction required) further constrains the attack - a victim must open the specific Auto Repeat form for payload execution. The scope change indicators SC:L and SI:L confirm cross-context impact on the victim's browser session, consistent with stored XSS. No EPSS score was provided in the input data, so probabilistic exploitation likelihood cannot be quantified. No KEV listing or POC was supplied, meaning active exploitation and weaponized exploit availability are both unconfirmed. The persistent (stored) nature elevates risk above reflected XSS within multi-user Frappe environments where Auto Repeat is broadly accessible; however, the high-privilege write prerequisite keeps the realistic threat actor population small. This is a genuine medium-severity finding, not an inflated CVSS edge case. |
| Exploit ScenarioDerived | An authenticated attacker holding a Frappe account with write privileges to Auto Repeat submits a crafted Auto Repeat record in which the reference_document field contains a JavaScript payload (e.g., a cookie-stealing script). Because the whitelisted write path accepts the input and the framework stores it without sanitization, the payload is persisted to the database. When an administrator or another user later opens the Auto Repeat form to review or edit the record, the stored script executes silently in their browser, potentially exfiltrating their session token to an attacker-controlled endpoint. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Stored Cross-Site Scripting in Frappe Framework 17.0.0-dev allows an authenticated attacker with write access to the Auto Repeat module to inject persistent HTML/JavaScript into the reference_document field via a whitelisted write path, bypassing server-side input controls. When any user opens the affected Auto Repeat form, the injected payload executes in their browser context, enabling session hijacking, credential theft, or unauthorized UI manipulation on behalf of the victim. No public exploit code or confirmed active exploitation (CISA KEV) has been identified at time of analysis; however, the stored (persistent) nature of this XSS makes it more dangerous than reflected variants within shared Frappe deployments.
RemediationAI
No vendor-released patch has been identified at time of analysis; a confirmed fix version is not available from the provided references. Organizations running Frappe Framework 17.0.0-dev with Auto Repeat enabled should monitor the upstream repository at https://github.com/frappe/frappe for patches or commits addressing reference_document input sanitization. As compensating controls: restrict write access to the Auto Repeat module to the smallest set of operationally necessary, trusted accounts (noting this may limit document scheduling workflows for broader user populations); implement a strict Content Security Policy (CSP) header on the Frappe application to constrain script execution origins and reduce XSS payload impact even if injection occurs; and consider disabling the Auto Repeat feature entirely if it is not required, accepting the trade-off of losing document repetition scheduling. None of these controls eliminate the underlying sanitization defect - a vendor-issued patch addressing output encoding at the reference_document rendering layer is the definitive fix.
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 Framework is an open-source Python/JavaScript full-stack web framework that underpins ERPNext and related Frappe-ecosystem business applications. The Auto Repeat module allows users to schedule repeating documents, and its reference_document field is the injection vector. CWE-79 (Improper Neutralization of Input During Web Page Generation) indicates the root cause: user-supplied input is stored without adequate sanitization and later rendered without output encoding, resulting in browser-executable script. The phrase 'whitelisted write path' in the description suggests the framework's permission model allowed the write but the input sanitization layer did not strip or encode HTML/JavaScript constructs. The affected build is version 17.0.0-dev (a pre-release development snapshot), per the CPE cpe:2.3:a:frappe:frappe_framework:*:*:*:*:*:*:*:*, though the wildcard version range means impact on stable releases has not been precisely bounded by available data.
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 write Auto Repeat records (PR:H); victim must open the form (UI:R); scope changes to victim browser (S:C) with low C/I impact; no availability impact applies.
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. An authenticated attacker with write access to Auto Repeat can persist HTML/JavaScript in reference_document using a whitelisted write path and trigger script execution when users open the affected Auto Repeat form.
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-38795
GHSA-5h93-rrcv-vggv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB