CVE-2026-105798

SimpleChat: Stored XSS via group document filename in inline onclick handler

Published Oct 6, 2026 CVSS 3.1 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A stored cross‑site scripting flaw exists in SimpleChat when an authenticated group Owner, Admin, or DocumentManager uploads a group document with a crafted filename. The filename is later interpolated into an inline onclick handler in the group workspace page without properly escaping apostrophes. The flaw allows script to terminate the handler string and execute in the SimpleChat origin, providing the attacker with access to victim‑visible data and actions within the victim’s session.

Affected Systems

Microsoft SimpleChat versions prior to 0.261.029 are affected. The vulnerability exists when uploading group documents via POST /api/group_documents/upload and is triggered when a group member clicks the Share button.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. The EPSS score is not provided, and the vulnerability is not listed in the CISA KEV catalog. The attack requires authenticated access with a group role of Owner, Admin, or DocumentManager, and succeeds when another group member clicks the Share button. Based on the description, the attack vector is an authenticated, privileged user uploading a malicious filename, and an uninformed group member triggering the handler. The high severity and lack of publicly known exploits necessitate immediate remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SimpleChat to version 0.261.029 or later.
  • Delete or sanitize any group document filenames that contain untrusted characters before they can be clicked by users.
  • Implement a Content Security Policy that restricts inline JavaScript execution to further reduce risk if the issue persists.

Generated by OpenCVE AI on October 6, 2026 at 18:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Microsoft
Microsoft simplechat
Vendors & Products Microsoft
Microsoft simplechat
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title SimpleChat: Stored XSS via group document filename in inline onclick handler
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 6, 2026, 2:47 PM
Reserved
Oct 5, 2026, 8:37 PM
Status
Deferred
Published
Oct 6, 2026, 3:17 PM
Modified
Oct 6, 2026, 3:25 PM