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
Published: 2026-06-24
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A stored cross‑site scripting flaw exists in Frappe Framework version 17.0.0‑dev due to failure to neutralize user‑controlled input when rendering node labels in the frappe.ui.Tree component. The vulnerability allows an attacker to insert arbitrary script code that is stored on the server and later executed within the victim's web browser when the tree view is rendered, potentially leading to session hijacking, defacement, or malicious data exfiltration. The flaw is identified as CWE‑79 and carries a CVSS score of 4.8, indicating a moderate severity for a web‑based stored XSS.

Affected Systems

The affected product is Frappe Framework 17.0.0‑dev across all supported operating systems, including Linux, macOS, and Windows. All installations that use the Tree UI component for rendering hierarchical data are impacted, especially where user‑supplied labels are displayed without proper sanitization.

Risk and Exploitability

The risk is modest due to the CVSS score; however the EPSS score is not available, so the likelihood of exploitation is unclear. The vulnerability is not listed in the CISA KEV catalog. Exploitation would typically occur when an attacker has the capability to create or modify tree node labels—either through authenticated access to an administrative interface or via a publicly exposed API that permits label changes. Once injected script is executed, it runs in the context of the current user session, enabling an attacker to compromise that user's privileges or gather sensitive information. The attack vector is inferred to be a web‑based interface that accepts label input, and the attacker must be able to inject payloads that survive server‑side storage and client‑side rendering.

Generated by OpenCVE AI on June 24, 2026 at 16:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch or upgrade to a release of Frappe Framework that includes the fix for the stored XSS vulnerability.
  • If a patch is not yet available, ensure that node labels are properly escaped or sanitized before rendering; enforce server‑side validation to strip script tags or encoded payloads.
  • Limit the users or roles that can create or edit tree node labels and require strict access controls on those interfaces.
  • Implement a Content Security Policy that restricts script sources to trusted origins and blocks inline execution to reduce the impact of any residual XSS payload.

Generated by OpenCVE AI on June 24, 2026 at 16:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 24 Jun 2026 15:30:00 +0000

Type Values Removed Values Added
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
Title Frappe Framework 17.0.0-dev - Stored XSS in Tree View node label rendering
First Time appeared Frappe
Frappe frappe Framework
Weaknesses CWE-79
CPEs cpe:2.3:a:frappe:frappe_framework:17.0.0-dev:*:linux:*:*:*:*:*
cpe:2.3:a:frappe:frappe_framework:17.0.0-dev:*:macos:*:*:*:*:*
cpe:2.3:a:frappe:frappe_framework:17.0.0-dev:*:windows:*:*:*:*:*
Vendors & Products Frappe
Frappe frappe Framework
References
Metrics cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Frappe Frappe Framework
cve-icon MITRE

Status: PUBLISHED

Assigner: Fluid Attacks

Published:

Updated: 2026-06-24T15:38:21.291Z

Reserved: 2026-06-05T14:49:25.370Z

Link: CVE-2026-50712

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T16:30:06Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')