---
id: CVE-2026-34449
title: SiYuan is a personal knowledge management system
summary: >-
  SiYuan is a personal knowledge management system. Prior to version 3.6.2, a
  malicious website can achieve Remote Code Execution (RCE) on any desktop
  running SiYuan by exploiting the permissive CORS policy
  (Access-Control-Allow-Origin: * …
severity: critical
cvss: 9.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-942
vendor: b3log
product: siyuan
affected:
  - siyuan < 3.6.2
patched:
  - siyuan 3.6.2
published: '2026-03-31'
updated: '2026-07-24'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-34449'
references:
  - url: 'https://github.com/siyuan-note/siyuan/issues/17246'
    label: security-advisories@github.com
  - url: 'https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2'
    label: security-advisories@github.com
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-68p4-j234-43mv
    label: security-advisories@github.com
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-68p4-j234-43mv
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00803
epssPercentile: 0.54945
ingestedAt: '2026-07-25T21:03:58.031Z'
---

## Overview

SiYuan is a personal knowledge management system. Prior to version 3.6.2, a malicious website can achieve Remote Code Execution (RCE) on any desktop running SiYuan by exploiting the permissive CORS policy (Access-Control-Allow-Origin: * + Access-Control-Allow-Private-Network: true) to inject a JavaScript snippet via the API. The injected snippet executes in Electron's Node.js context with full OS access the next time the user opens SiYuan's UI. No user interaction is required beyond visiting the malicious website while SiYuan is running. This issue has been patched in version 3.6.2.

## Affected

- `siyuan < 3.6.2`

## Remediation

Upgrade past the affected range:

- `siyuan 3.6.2`
