Skip to content
CVE PROGRAM SOURCE RECORD9.3 Critical

CVE-2026-74902

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

siyuan-note siyuan

Default version status: unaffected

  • 0 to < 3.7.4affected
  • 3.7.4unaffected
pkg:golang/github.com/siyuan-note/siyuan/kernel

References