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.
3.8.12Am 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
| Package | Ecosystem | Affected | Fixed in |
|---|---|---|---|
siyuan | other | >=3.8.10, <3.8.12 | 3.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
- SiYuan before 3.8.12 OAuth mix-up flaw can leak MCP tokensHigh3.8.12
- SiYuan XSS in WebDAV sync error messages (fixed in 3.8.10)High3.8.10
- SiYuan AI chat panel XSS lets crafted model replies run OS commandsHigh3.8.11
- SiYuan table caption stored XSS allows code executionCritical3.8.10
- SiYuan stored XSS in Attribute View panel runs OS commandsCritical3.8.10
- SiYuan stored XSS in checkbox column names runs OS commandsCritical3.8.10