CVE-2026-145556: SiYuan before 3.9.0-alpha.14 Stored XSS via Web Clipper Metadata in Inbox
SiYuan before 3.9.0-alpha.14 contains a stored cross-site scripting vulnerability in the Inbox dock that allows attackers to inject script through unsanitized shorthandTitle, shorthandURL and shorthandDesc fields of clipped entries. Attackers controlling a web page title or URL can execute JavaScript in the SiYuan renderer when victims clip and open the entry, then use the kernel API to read and modify notes and files.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of SiYuan versions before 3.9.0-alpha.14 are exposed when they clip an attacker-controlled web page and later open the resulting entry in the Inbox dock. The affected metadata includes the clipped entry's title, URL, and description.
What does an attacker need to exploit it?
An attacker needs to control a web page title or URL that is captured by the Web Clipper. Exploitation also requires a victim to clip the page and open the clipped entry, so it involves user interaction.
What could successful exploitation allow?
Injected JavaScript executes in the SiYuan renderer. The attacker can then use the kernel API to read and modify notes and files.
What should be done if upgrading is not immediately possible?
Avoid clipping untrusted web pages and do not open Inbox entries whose source page or metadata is untrusted. This reduces exposure to malicious titles, URLs, and descriptions until SiYuan can be updated to 3.9.0-alpha.14 or later.