Skip to main content

Frappe Framework CVE-2026-50699

| EUVDEUVD-2026-38795 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-24 Fluid Attacks GHSA-5h93-rrcv-vggv
4.6
CVSS 4.0 · Vendor: Fluid Attacks
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate with high-privilege Frappe account
  2. Delivery
    Access Auto Repeat module write endpoint (whitelisted path)
  3. Exploit
    Inject JavaScript payload into reference_document field
  4. Install
    Payload persisted to database without sanitization
  5. C2
    Victim user opens affected Auto Repeat form
  6. Execute
    Stored script executes in victim browser context
  7. Impact
    Session 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Frappe Framework 17.0.0-dev

Affected Packages

euvd frappe_framework no fix

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

Vendor (Fluid Attacks) PRIMARY 4.6 MEDIUM
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
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Fluid Attacks).

CVSS VectorVendor: Fluid Attacks

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
open-source ERP framework powering ERPNext, moderate enterprise and SMB footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Frappe

View all
CVE-2025-67289 CRITICAL POC
9.6 Dec 22

Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on

CVE-2018-3885 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3884 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3883 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3882 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2025-66440 HIGH POC
8.8 Dec 15

Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c

CVE-2025-66439 HIGH POC
8.8 Dec 15

SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa

CVE-2025-66437 HIGH POC
8.8 Dec 15

Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A

CVE-2020-6145 HIGH POC
8.8 Aug 10

An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev

CVE-2026-39352 HIGH POC
8.7 May 20

Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie

CVE-2025-10655 HIGH POC
8.6 Dec 09

SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL

CVE-2025-52042 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy