Description
SiYuan versions before v3.7.4 contain a cross-site scripting vulnerability in the unicode2Emoji function that fails to sanitize codepoint branch output. Attackers can craft document icons with hex-encoded markup that executes in the renderer with Node integration enabled, achieving arbitrary code execution on the host system.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| siyuan-note | siyuan | < 3.7.4 | 3.7.4 |
References
- GitHub Security Advisory (GHSA-vx5w-qrvp-mmcq) vendor-advisory
- VulnCheck Advisory: SiYuan before v3.7.4 Cross-Site Scripting via unicode2Emoji third-party-advisory