cbcvebase.
CVE-2026-34585
published 2026-03-31

CVE-2026-34585: SiYuan is a personal knowledge management system. Prior to version 3.6.2, a vulnerability allows crafted block attribute values to bypass server-side attribute…

PriorityP344high8.2CVSS 3.1
AVLACLPRLUIRSCCHIHAH
EPSS
0.34%
26.1th percentile
SiYuan is a personal knowledge management system. Prior to version 3.6.2, a vulnerability allows crafted block attribute values to bypass server-side attribute escaping when an HTML entity is mixed with raw special characters. An attacker can embed a malicious IAL value inside a .sy document, package it as a .sy.zip, and have the victim import it through the normal Import -> SiYuan .sy.zip workflow. Once the note is opened, the malicious attribute breaks out of its original HTML context and injects an event handler, resulting in stored XSS. In the Electron desktop client, this XSS reaches remote code execution because injected JavaScript runs with access to Node/Electron APIs. This issue has been patched in version 3.6.2.

Affected

4 ranges
VendorProductVersion rangeFixed in
b3logsiyuan< 3.6.23.6.2
github.comsiyuan-note_siyuan_kernel>= 0 < 0.0.0-20260329142331-918d1bd9f9670.0.0-20260329142331-918d1bd9f967
github.comsiyuan-note_siyuan_kernel0 – 0.0.0-20260421031503-96dfe0bea474
siyuan-notesiyuan< 3.6.23.6.2

CVSS provenance

nvdv3.18.2HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
ghsa8.2HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.