CVE-2026-44586

SiYuan: Bazaar marketplace renders unescaped package author metadata, allowing XSS and Electron code execution

State
Published
Severity
8.3 High
Published
May 14, 2026
Updated
May 14, 2026
Reserved
May 6, 2026

Read the record on cve.org

Description

SiYuan is an open-source personal knowledge management system. From 2.1.12 to before 3.7.0. SiYuan's Bazaar marketplace renders package author metadata from the public bazaar stage feed into HTML without escaping. In the desktop app this becomes stored XSS, and because SiYuan's Electron windows are created with nodeIntegration: true and contextIsolation: false, a successful payload can call Node.js APIs and execute code on the host. This vulnerability is fixed in 3.7.0.

Scores

CVSSScoreVectorSource
3.18.3 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
siyuansiyuan-note
  • >= 2.1.12, < 3.7.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.