Skip to content

CVE-2026-66394 SiYuan before v3.7.3 Stored and Reflected XSS via SVG Sanitizer Bypass

CriticalCVSS 9.3 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

SiYuan before v3.7.3 contains stored and reflected cross-site scripting vulnerabilities in SVG sanitization that allows authenticated attackers to execute scripts by bypassing the HTML parser-based cleaner. Attackers can hide script tags within desc, style, or noscript elements which the HTML parser treats as raw text but browsers interpret as executable SVG content when served as image/svg+xml, enabling script execution in the application origin.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
siyuan-note github.com/siyuan-note/siyuan/kernel < 3.7.3 3.7.3 Fixed
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 0.0.0-20260714095344-f08dee71ba8e 0.0.0-20260714095344-f08dee71ba8e Fixed

Affected products

ProductAffected versionsFixed in
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 0.0.0-20260714095344-f08dee71ba8e 0.0.0-20260714095344-f08dee71ba8e
siyuan-note github.com/siyuan-note/siyuan/kernel < 3.7.3 3.7.3

References