CVE-2026-34585

8.6 HIGH
Published: March 31, 2026 Modified: April 03, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/siyuan-note/siyuan/issues/17246
Source: security-advisories@github.com
Issue Tracking
https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2
Source: security-advisories@github.com
Release Notes
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-ff66-236v-p4fg
Source: security-advisories@github.com
Exploit Vendor Advisory
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-ff66-236v-p4fg
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Vendor Advisory

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.6 / 10.0
EPSS (Exploit Probability)
0.1%
21th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

b3log