CVE-2026-50712
Received Received - Intake
Stored XSS in Frappe Framework

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: Fluid Attacks

Description
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.ui.Tree component
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-25
AI Q&A
2026-06-24
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
frappe framework to 17.0.0-dev (exc)
frappe framework 17.0.0-dev
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-50712 is a Stored Cross-Site Scripting (XSS) vulnerability found in Frappe Framework version 17.0.0-dev. It occurs because the frappe.ui.Tree component improperly neutralizes user-controlled input, specifically in tree node labels that are rendered without proper escaping.

An attacker can exploit this vulnerability by creating or modifying records with specially crafted names containing malicious JavaScript event handlers, such as onclick. When another user interacts with the affected tree node, the malicious code executes in their browser.

The flaw exists in multiple unescaped client render paths in the Tree View, allowing arbitrary HTML and JavaScript injection without requiring raw HTML tags, working even with quote characters alone.

Impact Analysis

This vulnerability can impact you by allowing attackers to execute arbitrary JavaScript code in the browsers of users interacting with the vulnerable tree nodes.

Such code execution can lead to session hijacking, theft of sensitive information, unauthorized actions performed on behalf of the user, or delivery of further malicious payloads.

Because the vulnerability is remotely exploitable and triggered by user interaction, it poses a risk to the confidentiality and integrity of user data within applications using the affected Frappe Framework version.

Detection Guidance

This Stored Cross-Site Scripting (XSS) vulnerability in Frappe Framework version 17.0.0-dev can be detected by examining the frappe.ui.Tree component, specifically looking for tree node labels that render user-controlled input without proper escaping.

Detection can involve checking if any records or tree nodes contain crafted names with suspicious JavaScript event handlers such as onclick attributes embedded in the labels.

Since the vulnerability was validated using the Customer Group tree where document names are user-controlled, inspecting these fields for injected scripts or unusual characters (like quote characters used for injection) can help identify exploitation.

No specific commands are provided in the available resources, but manual inspection or automated scanning of the tree node labels for unescaped HTML or JavaScript event handlers is recommended.

Mitigation Strategies

Currently, there is no patch available for this vulnerability.

Immediate mitigation steps include avoiding the use of untrusted user input in tree node labels or other UI components that render HTML without proper escaping.

Administrators should monitor and restrict the creation or modification of records with potentially malicious names containing JavaScript event handlers.

Additionally, educating users to avoid interacting with suspicious tree nodes and applying strict input validation or sanitization on user-controlled fields can reduce risk.

Compliance Impact

The provided information does not specify how the Stored Cross-Site Scripting (XSS) vulnerability in Frappe Framework version 17.0.0-dev affects compliance with common standards and regulations such as GDPR or HIPAA.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-50712. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart