What’s Vulnerable › Vulnerabilities

CVE-2026-87814: SiYuan before v3.8.2 Stored XSS via Asset Preview

Description

SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in the search asset preview feature that fails to escape indexed asset content before inserting it into the DOM using innerHTML. Attackers who can place crafted text assets in a workspace can execute JavaScript in the SiYuan origin when victims preview the assets, enabling authenticated API requests and workspace manipulation.

Affected products

How to fix

Upgrade to a fixed version: siyuan-note siyuan 3.8.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-87814 or the next vulnerability affects your stack