CVE-2026-50708
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 MultiSelectDialog 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-50708 is a Stored Cross-Site Scripting (XSS) vulnerability found in the Frappe Framework version 17.0.0-dev. It occurs because user-controlled input in the MultiSelectDialog component is not properly neutralized or sanitized before being inserted into an HTML template.

Specifically, raw field values are directly interpolated into various HTML contexts such as the body, title, data-item-name, and link href attributes without adequate escaping. This improper handling allows an attacker with write access to a searchable DocType to store malicious payloads.

When another user opens the affected dialog, the malicious script executes in their session because the client-side rendering logic uses jQuery HTML constructors that append unescaped values to the dialog's result list. This can lead to injection of event handlers like onmouseenter and execution of arbitrary JavaScript.

Compliance Impact

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

Impact Analysis

This vulnerability can impact you by allowing attackers to execute arbitrary JavaScript code in the context of your user session when you open the affected dialog in the Frappe Framework.

Such execution can lead to unauthorized actions such as stealing session tokens, performing actions on behalf of the user, or manipulating the user interface, potentially compromising the confidentiality and integrity of your data.

The attacker must have write access to a searchable DocType to store the malicious payload, but once stored, any user opening the dialog can be affected.

Detection Guidance

This vulnerability can be detected by identifying if the Frappe Framework version 17.0.0-dev is in use and if the MultiSelectDialog component improperly neutralizes user-controlled input. Since the issue involves stored Cross-Site Scripting (XSS) through crafted payloads in searchable DocTypes, detection involves checking for suspicious or unexpected HTML or JavaScript code in the dialog's result list.

There are no specific commands provided to detect this vulnerability directly. However, you can perform manual or automated code reviews focusing on the MultiSelectDialog component's client-side rendering logic, especially looking for unescaped values processed via jQuery HTML constructors.

Network or system detection might include monitoring for unusual JavaScript execution or event handlers (e.g., onmouseenter) in the affected dialog, but no explicit detection commands are given.

Mitigation Strategies

Immediate mitigation steps include restricting write access to searchable DocTypes to trusted users only, as exploitation requires write permissions to store malicious payloads.

Since there is currently no patch available for this vulnerability, avoid using the affected MultiSelectDialog component or the vulnerable version (17.0.0-dev) of the Frappe Framework in production environments.

Implement additional input validation and sanitization on user-controlled inputs before they reach the MultiSelectDialog component to reduce the risk of injection.

Monitor user activity and logs for suspicious behavior related to the dialog and consider applying web application firewall (WAF) rules to detect or block XSS payloads targeting this component.

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