# CVE-2026-81731: Frappe 15.11.0 through 16.32.0 Stored XSS via Workspace Link Description

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.1
- **CVSS:** 5.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Passive; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.30% (percentile 15, 2026-11-28)
- **CWE:** CWE-79
- **Published:** 2026-08-27T20:07:35.561Z
- **Modified:** 2026-09-24T14:19:50.988Z

## Who should check

- Anyone running frappe \>= 15.11.0, \<= 16.32.0

## 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.

## Affected and fixed versions

- frappe: \>= 15.11.0, \<= 16.32.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-81731. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-81731.md
Affected: frappe >= 15.11.0, <= 16.32.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for frappe: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-81731 being exploited?

There is no confirmed exploitation: CVE-2026-81731 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-81731?

Medium: CVSS 5.1 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-81731?

frappe \>= 15.11.0, \<= 16.32.0.

### Is there a fix for CVE-2026-81731?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-81731?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/frappe/frappe/commit/9f65e5ceca71aae91dcfd9bb3c0904afd386a01a>
- patch: <https://www.vulncheck.com/advisories/frappe-15.11.0-through-16.32.0-stored-xss-via-workspace-link-description>
- article: <https://github.com/frappe/frappe/blob/v16.32.0/frappe/desk/doctype/workspace_link/workspace_link.json#L118>
- article: <https://github.com/frappe/frappe/blob/v16.32.0/frappe/public/js/frappe/widgets/links_widget.js#L37>
- other: <https://github.com/frappe/frappe>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-81731>

HTML: <https://flawdb.com/CVE-2026-81731> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-81731>
