CVE-2026-137469

SiYuan assistant replies could execute scripts in the desktop window

SiYuan · SiYuan AI agent chat panel

First documented disclosure · Review checkpoint

Summary

Final and reopened assistant replies could retain executable HTML even when the streaming preview appeared sanitized.

Severity and exploitation evidence

High · 7.7/10 · CVSS 4.0. Severity source.

Exploitation not established: The reviewed public sources establish a disclosed weakness or controlled demonstration, not malicious exploitation against users. No exploit or product was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The final Markdown renderer omitted sanitization and wrote model output into innerHTML; kramdown attribute lists were a second path described by the reporter.

Conditions required

The agent processes attacker-influenced material and reproduces markup, or uses a configured hostile model endpoint. OS-command impact additionally requires desktop local-kernel mode with Node.js integration.

Potential impact

Script execution in the application window; in the stated desktop configuration, commands run with the user’s privileges.

Affected versions and configurations

3.7.0–3.8.10, according to the maintainer.

Fix and mitigation status

Maintainer-listed 3.8.11, released November 19. Tagged AgentChat enables sanitization; complete attribute-list resistance was not independently tested.

Practical next steps

Upgrade to 3.8.11 or later; avoid untrusted endpoints and review saved agent sessions that may rerender hostile content.

Operating lesson

Apply the same output safety policy to streaming, final and persisted model messages.

Evidence and limits

November 11 is the original advisory date; November 26 is CVE publication. Remote-kernel mode has a different CSP. The maintainer’s CVSS 3.1 is 7.5; the CNA’s CVSS 4.0 is shown. Tagged source still enables kramdown attribute lists, so a sanitizer flag alone is not proof that every reported route is closed. Severity is attributed to VulnCheck CNA CVSS 4.0.

Sources