High

SiYuan before 3.8.12: XSS in agent session titles runs code on hover

A prompt injection in a document can make the model produce a session title that runs script in SiYuan. On the desktop app this can lead to OS-level code execution through Node.js when the user hovers the session row.

Product
Systems
macOSWindowsLinux
Fixed in
3.8.12
CVSS
7.5
Weakness
CWE-79
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than 3.8.12. Check the version you have and update to 3.8.12 or later. The fixed version is verified against a vendor or advisory source.

Affected software and versions

PackageEcosystemAffectedFixed in
siyuanother>=3.8.10, <3.8.123.8.12

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Users of SiYuan 3.8.10 up to but not including 3.8.12 on Windows, macOS or Linux.

Expected outcome after remediation

Report which SiYuan version is installed and whether it is in the affected range, then either confirm it is safe or update it to 3.8.12 or later.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5908 and your operating system.

Related siyuan incidents

All siyuan incidents