CVE-2026-81731

Frappe 15.11.0 through 16.32.0 Stored XSS via Workspace Link Description

Published Aug 27, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Frappe 15.11.0 through 16.32.0 stores and renders the workspace card description without XSS filtering. The description field of the Workspace Link doctype is declared with "ignore_xss_filter": 1 in frappe/desk/doctype/workspace_link/workspace_link.json, and _sanitize_content() in frappe/model/base_document.py skips any field carrying that flag, so the value is stored exactly as submitted. frappe.desk.desktop.get_desktop_page returns it unchanged, and LinksWidget.set_body() in frappe/public/js/frappe/widgets/links_widget.js interpolates it into a Bootstrap popover created with html: true, by way of the __() translation helper, which performs no HTML escaping. A user holding the Workspace Manager role can therefore place arbitrary markup in a public workspace's card description and have it execute in the session of any desk user who opens that workspace and hovers the description, including higher-privileged users, allowing session token theft and authenticated requests as the victim. The flag is removed on the development branch but remains present in the shipped 15.x and 16.x release lines, so no released version carries the fix.

Analysis

AI-generated

Technical impact

The vulnerability allows a user with the Workspace Manager role to insert arbitrary HTML or JavaScript into the description field of a Workspace Link. Because that field is marked to bypass XSS filtering, the content is stored unchanged and later rendered inside a Bootstrap popover using an unsafe translation helper, causing any script to execute in the context of users who open the workspace and hover over the description. This permits theft of session tokens and the ability to perform authenticated actions as the victim.

Affected Systems

All installations of the Frappe framework from version 15.11.0 through 16.32.0 are vulnerable. The flaw exists in the core Workspace Link doctype, and the ignore_xss_filter flag remains present in the released 15.x and 16.x lines, meaning any system running those releases can be exploited when a workspace link description is edited by a privileged user.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity, and the vulnerability is not listed in the CISA KEV catalog, but a public exploit path exists. No EPSS score is available. An attacker must first obtain the Workspace Manager role to inject malicious markup. Once injected, any session that loads the workspace and triggers the popover can be compromised, allowing session hijacking or further authenticated requests.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Frappe release where the ignore_xss_filter flag has been removed—this fix is available in development branches and subsequent releases after 16.32.0.
  • If an upgrade is not immediately possible, restrict editing of workspace link descriptions to a small, trusted group of users or disable the popover rendering that displays the description.
  • Apply a Content Security Policy that blocks inline script execution, mitigating the impact of any remaining markup injection.

Generated by OpenCVE AI on August 28, 2026 at 09:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Frappe 15.11.0 through 16.32.0 stores and renders the workspace card description without XSS filtering. The description field of the Workspace Link doctype is declared with "ignore_xss_filter": 1 in frappe/desk/doctype/workspace_link/workspace_link.json, and _sanitize_content() in frappe/model/base_document.py skips any field carrying that flag, so the value is stored exactly as submitted. frappe.desk.desktop.get_desktop_page returns it unchanged, and LinksWidget.set_body() in frappe/public/js/frappe/widgets/links_widget.js interpolates it into a Bootstrap popover created with html: true, by way of the __() translation helper, which performs no HTML escaping. A user holding the Workspace Manager role can therefore place arbitrary markup in a public workspace's card description and have it execute in the session of any desk user who opens that workspace and hovers the description, including higher-privileged users, allowing session token theft and authenticated requests as the victim. The flag is removed on the development branch but remains present in the shipped 15.x and 16.x release lines, so no released version carries the fix.
Title Frappe 15.11.0 through 16.32.0 Stored XSS via Workspace Link Description
First Time appeared Frappe
Frappe frappe
Weaknesses CWE-79
CPEs cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*
Vendors & Products Frappe
Frappe frappe
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 24, 2026, 2:19 PM
Reserved
Aug 27, 2026, 11:15 AM
Status
Analyzed
Published
Aug 27, 2026, 8:18 PM
Modified
Aug 31, 2026, 7:17 PM