CVE-2026-145602: SiYuan 3.8.10 before 3.8.12 DOM XSS via AI Agent Session Title

Published Dec 6, 2026
·
Updated

SiYuan from 3.8.10 before 3.8.12 contains a DOM-based cross-site scripting vulnerability in AgentSessionPanel.ts, where model-generated session titles are inserted into an aria-label without escaping double quotes. Attackers can use prompt injection in a document to make the model return a title carrying an event handler, executing script and, on desktop, OS-level code via Node.js when the user hovers the session row.

Affected Software

1 affected component
SiYuan SiYuan>=3.8.10<3.8.12

Event History

Dec 6, 2026
CVE Published
via MITRE·12:17 AM
Data Sourced
via MITRE·12:17 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:18 AM
DescriptionSeverityWeakness
Event
via NVD·01:18 AM

Frequently Asked Questions

1

Which users are exposed to this issue?

Users of SiYuan versions 3.8.10 through before 3.8.12 are affected when they use the AI Agent and interact with a session whose model-generated title contains the injected payload. The described trigger occurs when the user hovers over the affected session row.

2

What does an attacker need to do to exploit it?

An attacker needs to place prompt-injection content in a document that causes the AI model to generate a session title containing an event-handler payload. No attacker authentication is indicated, but user interaction is required.

3

Is the impact different on desktop installations?

Yes. The vulnerability can execute script through the SiYuan interface, and the description states that desktop environments can reach OS-level code execution through Node.js.

4

How can I determine whether I may be affected?

Check whether SiYuan is running version 3.8.10 or 3.8.11 and whether the AI Agent processes untrusted or attacker-controlled document content. Review AI Agent session titles for unexpected or malformed content, particularly titles associated with documents containing prompt-injection instructions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203