Case · DiggingBeagle record

SiYuan could replace a sanitised streaming preview with executable assistant HTML

Final and restored chat rendering retained active markup that could reach OS commands in desktop local-kernel mode.

Published by DiggingBeagle:

Public disclosure: Nov 11, 2026

Scope

Reported real-renderer demonstration under desktop local-kernel preferences; no production exploitation or independently tested packaged fix.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

Reported real-renderer demonstration under desktop local-kernel preferences; no production exploitation or independently tested packaged fix. The cited original records were inspected; experiments and deployed fixes were not independently reproduced. A comparable realized-harm magnitude is not established, so impact remains ungraded. Enrichment adds the cited prerequisite, control or measurement boundary without upgrading the independent evidence grade or estimating realized harm.

Assessed Nov 27, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Reply content is influenced

    A source or configured endpoint supplies active assistant markup.

    Boundary: Model output remains untrusted content.

  2. 02

    Rendering phase changes

    Finalisation or session restoration uses a different sanitisation path.

    Boundary: Safety in the streaming preview must persist through every render.

  3. 03

    Renderer reaches host authority

    Node-enabled local mode lets script execution reach OS commands.

    Boundary: Renderer isolation limits the consequence of content sanitisation failure.

Timeline

  1. Nov 11, 2026
    Event type unspecified

    Finding publicly documented

    Date of the cited disclosure or manuscript, not an inferred date of compromise.

  2. Nov 11, 2026
    disclosure

    Public disclosure

Claims & evidence

CLM-R289-SIYUAN-AI-XSS-1The maintainer reports inconsistent sanitisation between streamed previews, final assistant messages and restored sessions, plus a kramdown attribute-list gap.supported

Basis: reported finding

Link to claim
CLM-R289-SIYUAN-AI-XSS-2The advisory reports OS command execution in an Electron 44.10.0 renderer with the application’s webPreferences, and lists affected 3.7.0 through 3.8.10 and patched 3.8.11.supported

Basis: reported finding

Link to claim
CLM-R289-SIYUAN-AI-XSS-3The CNA links this advisory to CVE-2026-137469, published November 26; that is later than the November 11 advisory and November 19 release.supported

Basis: reported finding

Link to claim
CLM-E290-SIYUAN-AI-XSS-BOUNDARYSiYuan's advisory identifies both final and persisted-message rendering sinks and an attribute-list route surviving sanitization; safe incremental preview behavior does not establish that the final or reopened message is safe.supported

Basis: reported finding

Link to claim

Implications

Test streaming, stop/error finalisation and restored sessions separately, including Markdown extension attributes. A content filter and an isolated renderer protect different boundaries.

Controls and mitigations

  • Use the patched release and verify every final and persisted HTML sink, including attribute extensions; reduce Electron renderer privileges and maintain configuration-appropriate CSP.

Unknowns and contradictions

  • The full shipped desktop application and its fixed paths were not executed.
  • The advisory’s remote-mode CSP changes the exposure and should not be generalized to local mode.

Sources and citation

Material revision history

  1. Nov 27, 2026 · Published version · first publication · revision 292