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.
Severity (CVSS)
| Base score | 9.3 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L |
| Provided by | CNA |
Weaknesses
- CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | 0 to <3.8.1; 3.8.1 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hf87-qh3j-3p88 (vendor-advisory)
- https://www.vulncheck.com/advisories/siyuan-before-3.8.1-stored-xss-via-block-name (third-party-advisory)
Generated from the official CVE List on 31 Aug 2026 07:02 UTC.