Skip to content

CVE-2026-74902 SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload

CriticalCVSS 9.3 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

SiYuan before v3.7.4 contains a cross-site scripting vulnerability in the file upload validation flow that fails to escape filenames before inserting them into HTML via insertAdjacentHTML. Attackers can craft a malicious filename containing script payloads that execute with full OS command access when a user drags, drops, or pastes the file into the editor.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
siyuan-note github.com/siyuan-note/siyuan/kernel < 3.7.4 3.7.4 Fixed

Affected products

ProductAffected versionsFixed in
siyuan-note github.com/siyuan-note/siyuan/kernel < 3.7.4 3.7.4

References