Description
SiYuan before v3.8.1 fails to properly escape block name, alias, and memo fields in hint, backlink, and breadcrumb rendering functions. Attackers can set a block's name to contain HTML/script tags that execute when another user views documents referencing or displaying that block.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| siyuan-note | siyuan | < 3.8.1 | 3.8.1 |
References
- GitHub Security Advisory (GHSA-hf87-qh3j-3p88) vendor-advisory
- VulnCheck Advisory: SiYuan before v3.8.1 Stored XSS via block name third-party-advisory