Skip to content

CVE-2026-23645 SiYuan Vulnerable to Stored Cross-Site Scripting (XSS) via Unrestricted SVG File Upload

MediumCVSS 5.3 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

SiYuan is self-hosted, open source personal knowledge management software. Prior to 3.5.4-dev2, a Stored Cross-Site Scripting (XSS) vulnerability exists in SiYuan Note. The application does not sanitize uploaded SVG files. If a user uploads and views a malicious SVG file (e.g., imported from an untrusted source), arbitrary JavaScript code is executed in the context of their authenticated session. This vulnerability is fixed in 3.5.4-dev2.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
b3log siyuan < 3.5.4; = 3.5.4-dev1 3.5.4 Fixed
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 0.0.0-20260116101155-11115da3d0de 0.0.0-20260116101155-11115da3d0de Fixed
siyuan-note siyuan = < 3.5.4-dev2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 0.0.0-20260116101155-11115da3d0de 0.0.0-20260116101155-11115da3d0de
siyuan-note siyuan = < 3.5.4-dev2 No fix listed
b3log siyuan < 3.5.4 3.5.4
b3log siyuan = 3.5.4-dev1 No fix listed

References