What’s Vulnerable › Vulnerabilities

CVE-2026-87811: SiYuan before v3.8.2 Stored XSS via notebook template paths

Description

SiYuan before v3.8.2 inserts persisted notebook template paths into HTML input value attributes without proper attribute encoding. Attackers can craft malicious template paths that break out of the attribute context and execute JavaScript when a victim opens notebook configuration, enabling same-origin API requests and application state 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-87811 or the next vulnerability affects your stack