CVE-2026-34585

Description

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.

Severity
HIGH
CVSS v3
8.6
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
0.357%
chance of exploitation in the next 30 days
higher than 29.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impacttotal
Scored2026-04-01

Timeline

  1. 2026-03-31Published by the CNA21:47 UTC
  2. 2026-04-01GitHub advisory published (GHSA-ff66-236v-p4fg)1 day after publication
  3. 2026-04-01CISA SSVC decision recorded1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-ff66-236v-p4fg, affected packages:

PackageVulnerable versionsFixed in
Go github.com/siyuan-note/siyuan/kernelbefore 0.0.0-20260329142331-918d1bd9f9670.0.0-20260329142331-918d1bd9f967

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
b3log siyuanbefore 3.6.2fixed in 3.6.23.6.2

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources