Skip to content
OpenAdvisories

Vendor

siyuan-note

225 known vulnerabilities.

Products

42 results · Clear filters · Feed

  • Critical 9.1

    SiYuan 2.1.0 before 3.8.9 contains a flaw where the loginAuth CAPTCHA challenge lives in a signed client-side cookie, a…

  • Critical 9.0

    SiYuan before v3.8.2 Stored XSS via incomplete asset blocklist

    SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in asset serving due to an incomplete extension blocklist that misses script-capable file types. Attackers can upload files with extensions like .xht, .ehtml, .xsl, .xbl, or .rdf that r…

  • Critical 9.1

    SiYuan before v3.7.4 Path Traversal via packageName

    SiYuan before v3.7.4 fails to validate the packageName parameter in Bazaar install and uninstall endpoints, allowing authenticated administrators to perform path traversal via directory traversal sequences. Attackers with admin access can write arbitrary file…

  • Critical 9.0

    SiYuan before v3.7.4 Stored XSS via assets endpoint

    SiYuan before v3.7.4 fails to set Content-Disposition and X-Content-Type-Options headers when serving arbitrary file assets, allowing stored cross-site scripting attacks. Authenticated attackers can upload HTML files as assets and execute scripts with full ke…

  • Critical 9.3

    SiYuan before 3.7.4 Unauthenticated Debug Endpoint Information Disclosure

    SiYuan before 3.7.4 registers Go net/http/pprof debug endpoints including heap and goroutine dumps without authentication when --mode flag is not set to exactly prod. Attackers can access /debug/pprof/heap and related endpoints to extract in-memory secrets in…

  • Critical 9.8

    SiYuan kernel before 3.7.4 Unthrottled Brute-Force via API Token

    SiYuan kernel versions before 3.7.4 contain an improper restriction of excessive authentication attempts vulnerability in the CheckAuth() middleware. The middleware accepts the API token (Conf.Api.Token) via an Authorization header (Token/Bearer) or a ?token=…

  • Critical 9.0

    SiYuan before v3.7.4 Cross-Site Scripting via unicode2Emoji

    SiYuan versions before v3.7.4 contain a cross-site scripting vulnerability in the unicode2Emoji function that fails to sanitize codepoint branch output. Attackers can craft document icons with hex-encoded markup that executes in the renderer with Node integra…

  • Critical 9.0

    SiYuan before v3.7.4 Stored XSS via Attribute-View Field Names

    SiYuan before v3.7.4 stores attribute-view field names without HTML escaping and interpolates them directly into option elements via innerHTML in the sort menu. Attackers can inject markup by renaming a database field to execute arbitrary JavaScript when user…

  • Critical 9.0

    SiYuan before v3.7.4 Stored XSS via select option color

    SiYuan versions before v3.7.4 fail to validate or escape the color field in attribute-view select options, allowing stored cross-site scripting through eight unescaped render sites. Attackers can inject event-handler attributes by including quotation marks in…

  • Critical 9.8

    SiYuan before v3.7.4 Authentication Bypass via HTTP Basic Auth

    SiYuan before v3.7.4 improperly restricts excessive authentication attempts in the CheckAuth() middleware. The HTTP Basic Authentication branch, which guards nearly the entire /api/* surface, accepts the workspace access code (Conf.AccessAuthCode) as the Basi…

  • Critical 9.0

    SiYuan before v3.7.4 Stored Cross-Site Scripting via Column Width

    SiYuan versions before v3.7.4 fail to validate or escape table column width values, allowing stored cross-site scripting injection into style attributes. Attackers can inject malicious payloads through the setAttrViewColWidth API that break out of style attri…

  • Critical 9.0

    SiYuan before v3.7.4 Remote Code Execution via Template Calculation

    SiYuan versions before v3.7.4 contain a remote code execution vulnerability in the Template calculation operator, which renders user-authored Go templates and stores output verbatim without sanitization. Attackers can inject malicious HTML and JavaScript into…

  • Critical 9.0

    SiYuan before v3.7.4 Remote Code Execution via PDF Annotations

    SiYuan versions before v3.7.4 fail to validate or escape annotation fields written to disk by the setFileAnnotation endpoint. Attackers can inject malicious markup into annotation fields that execute as script in the PDF renderer with full Node.js access when…

  • Critical 9.0

    SiYuan before v3.7.4 Remote Code Execution via Menu Metadata

    SiYuan before v3.7.4 fails to properly escape database menu metadata in HTML interpolation, allowing stored values to execute script when users open group, view, or field-edit menus. Attackers can inject markup through field descriptions or names that close c…

  • Critical 10.0

    SiYuan before v3.7.4 SQL Injection via backlink search

    SiYuan versions <= v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query (kernel/model/backlink.go), which concatenates stored block metadata (title, name, alias, anchor text) and the client-supplied keyword into a SQL MATCH/search…

  • Critical 10.0
    CVE-2026-69085 Scanner template

    SiYuan before v3.7.3 SQL Injection via searchDocs

    SiYuan before v3.7.3 contains a SQL injection vulnerability in the /api/filetree/searchDocs endpoint, where the caller-supplied keyword parameter is concatenated directly into SQL statements with no escaping or parameter binding. The endpoint is reachable by …

  • Critical 10.0
    CVE-2026-69084 Public exploit Scanner template

    SiYuan before v3.7.3 SQL Injection via searchEmbedBlock

    SiYuan versions <= v3.7.2 expose the /api/search/searchEmbedBlock endpoint, which passes a client-supplied SQL statement verbatim to the main read-write siyuan.db handle with no single-statement, read-only, or admin restrictions. The endpoint is gated only by…

  • Critical 10.0
    CVE-2026-69083 Public exploit

    SiYuan before v3.7.3 SQL Injection via fullTextSearchAssetContent

    SiYuan versions before v3.7.3 contain SQL injection vulnerabilities in the fullTextSearchAssetContent endpoint reachable by unauthenticated users and publish RoleReader tokens. Attackers can execute arbitrary SQL on the read-write asset-content database via u…

  • Critical 9.6

    SiYuan Desktop before v3.7.2 Reflected XSS to RCE via siyuan Protocol

    SiYuan desktop before v3.7.2 contains a reflected cross-site scripting vulnerability in the bazaar plugin readme handler that allows attackers to execute arbitrary code by crafting a malicious siyuan:// deep link. Attackers can inject HTML payloads via the pl…

  • Critical 10.0

    SiYuan before v3.7.2 Unauthenticated Administrator Takeover via MCP

    SiYuan before v3.7.2 contains a missing authorization vulnerability in the POST /mcp kernel endpoint, which is gated only by a general auth check (model.CheckAuth) with no admin-role or read-only enforcement. This exposes 31 MCP tools, including a file tool w…

  • Critical 9.6

    SiYuan before v3.7.2 Cross-Site Scripting to RCE

    SiYuan before v3.7.2 contains a cross-site scripting vulnerability in the siyuan:// protocol handler. When a siyuan://plugins/<name> link references a name that is not an installed plugin, the application opens a custom tab and inserts the link's icon paramet…

  • Critical 9.6

    SiYuan before v3.7.2 Stored XSS to RCE via Attribute View

    SiYuan before v3.7.2 contains a stored cross-site scripting vulnerability in Attribute View (database) cell rendering. A Template column value is rendered as HTML via text/template without auto-escaping, and EscapeHTML is only applied when HasUnclosedHtmlTag …

  • Critical 9.0

    SiYuan: Stored XSS results to Electron RCE in SiYuan marketplace via unescaped `data-obj` attribute (Bypass for CVE-2026-45375's patch)

    SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, it does not escape the untrusted fields (name, version, author, description) when they are serialized into the data-obj HTML attribute of each marketplace card. Because the attribu…

  • Critical 9.9

    SiYuan: Stored XSS to RCE via Unsanitized Attribute View Asset Cell Content

    SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan contains a stored cross-site scripting (XSS) vulnerability in the Attribute View (database) asset cell renderer that escalates to remote code execution (RCE) in the Electron…

  • Critical 9.9

    SiYuan: Stored XSS to RCE via attribute-view cell rendering in genAVValueHTML()

    SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the attribute-view (database) cell renderer genAVValueHTML interpolates cell content raw in four of its branches: text, url, phone, and mAsset. A cell value like </textarea><img sr…

  • Critical 9.2
    CVE-2026-54069 Scanner template

    SiYuan: Unauthenticated Admin API Access via Blanket chrome-extension:// Origin Allowlist

    SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan Note's kernel HTTP server unconditionally trusts all chrome-extension:// origins, granting RoleAdministrator access to every installed browser extension without any authenti…

  • Critical 9.9

    SiYuan: Stored XSS to RCE via CSS-snippet <style> breakout in renderSnippet()

    SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, CSS snippet body containing </style> breaks out of its surrounding <style> tag when renderSnippet() interpolates it via insertAdjacentHTML. A payload like runs arbitrary JavaScript…

  • Critical 9.4

    SiYuan: Stored XSS via Attribute View name to Electron renderer RCE in SiYuan

    SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the kernel stores Attribute View (AV / database) names without any HTML escape, then a render template uses raw strings.ReplaceAll(tpl, "${avName}", nodeAvName) to embed the name i…

  • Critical 9.4

    SiYuan: URL-encoded title bypasses `escapeAriaLabel`, decoded by `decodeURIComponent` into a tooltip-XSS

    SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, he tooltip mouseover handler in app/src/block/popover.ts reads aria-label via getAttribute and passes it through decodeURIComponent before assigning to messageElement.innerHTML in …

  • Critical 9.0

    SiYuan: Bazaar marketplace renders unescaped package `name` and `version` metadata, allowing stored XSS and Electron code execution

    SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan's Bazaar (community marketplace) renders the name and version fields of a package's plugin.json (and the equivalent theme.json / template.json / widget.json / icon.json) int…

  • Critical 9.1

    SiYuan: Mermaid `javascript:` Link Injection Leads to Stored XSS and Electron RCE

    SiYuan is an open-source personal knowledge management system. In versions 3.6.3 and below, Mermaid diagrams are rendered with securityLevel set to "loose", and the resulting SVG is injected into the DOM via innerHTML. This allows attacker-controlled javascri…

  • Critical 9.1

    SiYuan affected by Remote Code Execution in the Electron desktop client via stored XSS in synced table captions

    SiYuan is a personal knowledge management system. Prior to 3.6.4, a malicious note synced to another user can trigger remote code execution in the SiYuan Electron desktop client. The root cause is that table caption content is stored without safe escaping and…

  • Critical 9.7

    SiYuan: Cross-Origin RCE via Permissive CORS Policy and JavaScript Snippet Injection

    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…

  • Critical 9.1

    SiYuan: Stored XSS in Attribute View gallery/kanban cover rendering allows arbitrary command execution in the desktop client

    SiYuan is a personal knowledge management system. Prior to version 3.6.2, an attacker who can place a malicious URL in an Attribute View mAsse field can trigger stored XSS when a victim opens the Gallery or Kanban view with “Cover From -> Asset Field” enabled…

  • Critical 9.8

    SiYuan has directory traversal within its publishing service

    SiYuan is a personal knowledge management system. Prior to version 3.6.2, the /api/file/readDir interface was used to traverse and retrieve the file names of all documents under a notebook. Version 3.6.2 patches the issue.

  • Critical 9.8

    SiYuan has Arbitrary Document Reading within the Publishing Service

    SiYuan is a personal knowledge management system. Prior to version 3.6.2, document IDs were retrieved via the /api/file/readDir interface, and then the /api/block/getChildBlocks interface was used to view the content of all documents. Version 3.6.2 patches th…

  • Critical 9.3

    SiYuan has a SanitizeSVG bypass via data:text/xml in getDynamicIcon (incomplete fix for CVE-2026-29183)

    SiYuan is a personal knowledge management system. In versions 3.6.0 and below, SanitizeSVG has an incomplete blocklist — it blocks data:text/html and data:image/svg+xml in href attributes but misses data:text/xml and data:application/xml, both of which can re…

  • Critical 9.9

    SiYuan has an Arbitrary File Read in its Desktop Publish Service

    SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the /api/lute/html2BlockDOM on the desktop copies local files pointed to by file:// links in pasted HTML into the workspace assets directory without validating paths against a sens…

  • Critical 9.8

    SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API

    SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass vulnerability in the /api/search/fullTextSearchBlock endpoint. When the method parameter is set to 2, the endpoint passes user-supplied input directly a…

  • Critical 9.3

    SiYuan has a Path Traversal in /export Endpoint Allows Arbitrary File Read and Secret Leakage

    SiYuan is a personal knowledge management system. Prior to 3.5.10, a path traversal vulnerability in the /export endpoint allows an attacker to read arbitrary files from the server filesystem. By exploiting double‑encoded traversal sequences, an attacker can …