Skip to main content

Frappe Framework EUVDEUVD-2026-38794

| CVE-2026-50698 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-24 Fluid Attacks GHSA-7g37-3vxg-pc3v
4.6
CVSS 4.0 · Vendor: Fluid Attacks
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with high-privilege Frappe account
  2. Delivery
    Perform action captured by Audit Trail with injected XSS payload
  3. Exploit
    Payload persisted in application database
  4. Execution
    Victim administrator navigates to Audit Trail
  5. Persist
    Stored script executes in victim browser
  6. Impact
    Session 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.

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

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

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 store payload and victim interaction required to trigger; scope changes to victim browser, yielding low C/I with no server-side availability impact.

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 due to improper neutralization of user-controlled input before generating HTML output in the Audit Trail component.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular open-source ERP framework with significant SME and enterprise adoption
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