8.6

CVE-2026-34585: SiYuan: Stored XSS in imported .sy.zip content leads to arbitrary command execution

Analyzed
AliasesGHSA-ff66-236v-p4fgGO-2026-5357
Published 31-03-2026Last modified 01-04-2026

Vulnerability summary

CVE-2026-34585 is a high (CVSS 8.6) vulnerability in b3log siyuan. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 36.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.6/10
010
High · v3.1 (CVE.org)
EPSS score
0.40%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 31-03-2026
    PublishedVulnerability first disclosed.
  2. 01-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

36%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 0.35% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Siyuan

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

B3log1 product
Github.com/siyuan-note/siyuan1 product
  • kernel< 0.0.0-20260329142331-918d1bd9f967
Siyuan-note1 product

3 vendors · 3 products

References

6 links