AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.

Summary

SiYuan before 3.8.11 inserts asset filenames into the asset picker using innerHTML without escaping them. A malicious filename in an imported .sy.zip can run script when the victim opens the picker, potentially reaching Node APIs for code execution.

Impact: code execution

Affected technologies

  • SiYuan (< 3.8.11)

Upgrade SiYuan to version 3.8.11 or later.

Details

   
CVSS 9.4 (Critical)
Vendor / product siyuan-note siyuan
Published 2026-12-04
Weakness CWE-79
Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Original description

SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability in the protyle asset picker’s renderAssetList, which inserts unescaped asset filenames via innerHTML. Attackers can supply a .sy.zip import with a malicious filename that runs script when the victim opens the asset picker, reaching Node APIs for code execution.

References

← Threat intelligence dashboard