SiYuan before 3.9.0-alpha.14 contains a denial of service vulnerability in processBase64Img() that decodes base64 images without enforcing pixel limits. Attackers can supply small PNGs declaring huge dimensions via clipped, pasted, or imported HTML to exhaust kernel memory and crash the SiYuan kernel.
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w4r8-r82r-498j
https://github.com/siyuan-note/siyuan/releases/tag/v3.9.0-alpha.14
https://github.com/siyuan-note/siyuan/commit/299c7672eceeb1926e639c89715085912ae9900c
https://github.com/siyuan-note/siyuan/blob/v3.9.0-alpha.13/kernel/model/import.go#L2115-L2165