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.
Severity (CVSS)
| Base score | 8.4 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| 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.2; 3.8.2 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-64gp-333q-mq6j (vendor-advisory)
- https://www.vulncheck.com/advisories/siyuan-before-3.8.2-stored-xss-via-asset-preview (third-party-advisory)
Generated from the official CVE List on 10 Sep 2026 07:03 UTC.