B3log Siyuan
Don't miss out!
Thousands of developers use stack.watch to stay informed.Get an email whenever new security vulnerabilities are reported in B3log Siyuan.
By the Year
In 2026 there have been 157 vulnerabilities in B3log Siyuan with an average score of 8.0 out of ten. Last year, in 2025 Siyuan had 1 security vulnerability published. That is, 156 more vulnerabilities have already been reported in 2026 as compared to last year. Last year, the average CVE base score was greater by 1.15
| Year | Vulnerabilities | Average Score |
|---|---|---|
| 2026 | 157 | 7.95 |
| 2025 | 1 | 9.10 |
| 2024 | 10 | 7.43 |
It may take a day or so for new Siyuan vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.
Recent B3log Siyuan Security Vulnerabilities
SiYuan <3.8.10 LAN Sync Info Disclosure via Peer Discovery
CVE-2026-134244
5.3 - Medium
- November 21, 2026
SiYuan 3.8.0 before 3.8.10 contains an information disclosure vulnerability in LAN sync that allows adjacent unauthenticated attackers to obtain device metadata by advertising a counterfeit peer with a replayed discovery tag. The client sends the sync scope ID, device name, OS, app version, and TLS client certificate to /peer-sync/v1/session/open before validating the server proof.
Information Disclosure
SiYuan <3.8.10 Unauthorized Asset Read via serveAssets Route
CVE-2026-134245
8.7 - High
- November 21, 2026
SiYuan 3.8.0 before 3.8.10 contains an incorrect authorization vulnerability in the serveAssets route that allows unauthenticated attackers to read password-protected document assets via name collisions. Attackers can request GET /assets/<name> when a visible document references the same relative asset name, retrieving the protected file's contents on public-publish instances with Basic Auth disabled.
AuthZ
SiYuan 3.6.x/3.7.x Missing Auth in /api/block/getDOMText
CVE-2026-134246
8.7 - High
- November 21, 2026
SiYuan 3.6.0 before 3.6.2 and 3.7.3 before 3.8.10 contains a missing authorization vulnerability in the /api/block/getDOMText endpoint, which renders caller-supplied DOM without checking publish access for referenced image paths. When publish authentication is disabled, anonymous visitors can submit DOM referencing a known unpublished, non-encrypted asset path to retrieve its already-cached OCR text.
AuthZ
SiYuan <3.8.10 Auth Bypass in asset APIs
CVE-2026-134247
8.7 - High
- November 21, 2026
SiYuan 3.8.0 before 3.8.10 contains an incorrect authorization vulnerability that allows anonymous attackers to read indexed asset text referenced only by publish-disabled attribute-view rows. Attackers can request /api/asset/getDocAssets on a public host document to obtain the leaked asset path, then query /api/search/getAssetContentByPath to retrieve the confidential file's full indexed text.
AuthZ
SiYuan <3.8.10 X-Forwarded-For Auth Bypass via Loopback Proxy
CVE-2026-134249
8.7 - High
- November 21, 2026
SiYuan before 3.8.10 contains an authentication bypass vulnerability that allows unauthenticated attackers to gain Administrator role by spoofing X-Forwarded-For through a loopback-trusted reverse proxy. Attackers can send requests with Host set to localhost and X-Forwarded-For set to 127.0.0.1 to read private note-history contents via the /history/*path route when no lock-screen password is set.
authentification
SiYuan <3.8.9 Authenticated Path Bypass leads to Credential File Disclosure
CVE-2026-126264
8.3 - High
- November 13, 2026
SiYuan before 3.8.9 contains an information disclosure vulnerability that allows authenticated Reader users to retrieve credential-named widget files by bypassing the sensitive-path guard in getFile. Attackers can request paths like /data/widgets/<package>/credentials.json for publish-referenced widgets to obtain API keys, tokens, or other stored secrets.
Information Disclosure
SiYuan 3.6.0-3.8.8 Info Disclosure via Regex in getDoc
CVE-2026-126266
8.7 - High
- November 13, 2026
SiYuan from 3.6.0 before 3.8.9 contains an information disclosure vulnerability that allows unauthenticated publish visitors to bypass per-document passwords via regex search in getDoc. Attackers can send POST requests to /api/filetree/getDoc with queryMethod 3 and a broad regex to read protected body text returned in the unfiltered keywords field.
Information Disclosure
SiYuan <3.8.9 CAPTCHA Signed Cookie Replay Admin Session
CVE-2026-126265
9.1 - Critical
- November 13, 2026
SiYuan 2.1.0 before 3.8.9 contains a flaw where the loginAuth CAPTCHA challenge lives in a signed client-side cookie, allowing reuse of a solved challenge. Attackers can replay the original signed siyuan cookie with distinct wrong access codes to brute-force the code and gain an administrator session.
Improper Restriction of Excessive Authentication Attempts
SiYuan <3.8.10 SSRF in skill-install download path
CVE-2026-126393
5.3 - Medium
- November 13, 2026
SiYuan before 3.8.10 contains a server-side request forgery vulnerability in the skill-install download path because fetchBytes performs only a parse-time hostname check instead of using ssrfSafeClient. Attackers can supply a skill URL via the MCP skill install action that redirects or DNS-rebinds to loopback addresses, reaching internal services and metadata endpoints.
SSRF
SiYuan <3.8.10 Windows Path Traversal in webfetch.go via %5C-encoded ..\
CVE-2026-126776
6 - Medium
- November 11, 2026
SiYuan 3.7.0 before 3.8.10 on Windows contains a path traversal vulnerability in kernel/util/webfetch.go that allows attackers to write files outside the import directory via backslash-encoded filenames. Attackers controlling a URL fetched by the MCP web_fetch or http_request tools can use %5C-encoded ..\ sequences to write chosen response bytes to directories above temp/import that are writable by the SiYuan user.
Directory traversal
SiYuan <3.8.9 nil ptr deref in privateCacheMiddleware (auth)
CVE-2026-123492
6.9 - Medium
- November 06, 2026
SiYuan before 3.8.9 contains a nil pointer dereference vulnerability in privateCacheMiddleware that allows authenticated attackers to crash the kernel by reading nonexistent MCP resources. Attackers with a valid API token can send a resources/read request in an initialized MCP session, causing a panic that terminates the kernel process and interrupts service.
NULL Pointer Dereference
SiYuan 3.8.7-3.8.8 GLOBALROOT Alias Bypass via importStdMd Exposes API Token
CVE-2026-118680
5.9 - Medium
- October 28, 2026
SiYuan 3.8.7 through 3.8.8 fails to normalize Windows GLOBALROOT device-namespace aliases, bypassing the IsSensitivePath denylist. Attackers can invoke importStdMd with a GLOBALROOT-prefixed path to copy the API token and TLS private key into the publicly served assets directory.
Directory traversal
SiYuan <3.8.7 Windows Sensitive-Path Bypass (\\?\ Prefix)
CVE-2026-116171
5.9 - Medium
- October 25, 2026
SiYuan 3.5.4 before 3.8.7 on Windows contains a sensitive-path denylist bypass in IsSensitivePath because the Windows extended-length prefix (\\?\) survives filepath.Clean and matches no forbidden prefix. Authenticated API callers can prepend the prefix to localPath in /api/import/importStdMd to copy workspace conf files, including the API token and TLS private keys, into assets served to unauthenticated clients.
Directory traversal
SiYuan <3.8.7 Stored XSS via KaTeX math block (javascript URL)
CVE-2026-116169
5.1 - Medium
- October 25, 2026
SiYuan from 2.10.0 before 3.8.7 contains a stored cross-site scripting vulnerability that allows users with edit permission to inject script by placing javascript: URLs in math block content rendered with KaTeX trust enabled. Attackers can store \href, \url, or \includegraphics payloads that mathRender assigns via innerHTML, executing script in the application origin when a reader clicks the rendered link.
XSS
SiYuan <3.8.7 SQLi via admin token in searchHistory endpoint
CVE-2026-116170
6.9 - Medium
- October 25, 2026
SiYuan before v3.8.7 contains an sql injection vulnerability that allows admin-token holders to read history.db by injecting unescaped op and type=3 query values. Attackers can send crafted UNION SELECT payloads to searchHistory or getHistoryItems endpoints to exfiltrate deleted document content, titles, and paths.
SQL Injection
SiYuan before 3.8.7 Path Traversal in MCP Asset Upload
CVE-2026-116168
6.9 - Medium
- October 25, 2026
SiYuan before 3.8.7 contains a path traversal vulnerability in the MCP asset tool because validateAssetUploadPaths relies on an incomplete sensitive-path blacklist that omits .env and other secret files. Authenticated attackers driving the MCP asset upload action can copy such local files into the workspace and read them back via /assets/ over HTTP.
Directory traversal
SiYuan <3.8.7 XSS via /check-auth window.location.assign
CVE-2026-116167
7.6 - High
- October 25, 2026
SiYuan from 2.9.0 before 3.8.7 contains a cross-site scripting vulnerability in the unauthenticated /check-auth page that assigns the to parameter to window.location.href without scheme validation. Attackers can send a crafted link with a javascript: URI that executes after victim login, invoking kernel APIs to read or modify workspace content and settings.
XSS
SiYuan <3.8.7 HTTP API exposed due to ignored networkServeTLS
CVE-2026-116166
7.6 - High
- October 25, 2026
SiYuan 3.6.0 before 3.8.7 accepts and persists the networkServeTLS setting but never enforces it, so the kernel port keeps serving full API access over plain HTTP alongside HTTPS. Network-adjacent attackers can sniff the cleartext login flow and session cookie, which lacks the Secure attribute while responses omit HSTS, to hijack kernel API sessions.
Cleartext Transmission of Sensitive Information
SiYuan <3.8.6 Sprig map DoS via /api/icon/getDynamicIcon
CVE-2026-109310
7.1 - High
- October 12, 2026
SiYuan v3.1.12 before v3.8.6 fails to restrict the Sprig template function map in the /api/icon/getDynamicIcon content parameter, allowing resource exhaustion. A publish reader, or anyone when publish auth is disabled, can use uncapped functions like until to OOM-kill the kernel with one request.
Allocation of Resources Without Limits or Throttling
SiYuan <3.8.6 Path Traversal in Private Plugin HTTP Server
CVE-2026-109309
6.9 - Medium
- October 12, 2026
SiYuan v3.7.0 before v3.8.6 contains an absolute path traversal vulnerability in the kernel's private plugin HTTP server, which passes a kernel plugin handler's ResponseFile.Path to gin's Context.File without validation. Attackers supplying a malicious kernel plugin can return an absolute path to read any file readable by the SiYuan process, including the API token and conf.json.
Directory traversal
SiYuan <3.8.5 Info Disclosure via Publish API (block getDocInfo)
CVE-2026-105205
6.9 - Medium
- October 04, 2026
SiYuan before 3.8.5 contains an information disclosure vulnerability that allows publish-mode readers to learn backlink block IDs and reference counts from password-protected and publish-disabled documents by querying a published document. Attackers can send POST requests to /api/block/getDocInfo or getDocsInfo for a published document ID to obtain refIDs and refCount of hidden referencing blocks, bypassing the publish confidentiality boundary.
Information Disclosure
SiYuan <3.8.5 Info Disclosure via /api/export/preview
CVE-2026-104410
8.7 - High
- October 02, 2026
SiYuan before 3.8.5 contains an information disclosure vulnerability that allows publish readers to read password-protected and publish-disabled database rows via the /api/export/preview endpoint. Attackers can request an export preview of a public document embedding a database view to obtain protected rows' primary-key text and cell values.
AuthZ
SiYuan <3.8.5 Info Disclosure via getNotebookInfo endpoint
CVE-2026-103763
6.9 - Medium
- October 02, 2026
SiYuan before v3.8.5 contains an information disclosure vulnerability that allows read-only publish readers to learn metadata of publish-excluded documents through the getNotebookInfo endpoint. Attackers, including anonymous visitors when no reader password is set, can query publish-visible notebooks to obtain document count, size and modification timestamps of hidden documents.
Information Disclosure
SiYuan <3.8.5 Missing Auth in getRefCreateSavePath API
CVE-2026-103762
6.9 - Medium
- October 02, 2026
SiYuan before v3.8.5 contains a missing authorization vulnerability in the getRefCreateSavePath, getShorthandSavePath, and getDocCreateSavePath endpoints that allows read-only publish visitors to learn unpublished notebook box IDs. Attackers with read-only or anonymous publish access can POST any open notebook ID to receive the global save-box ID and save-path template, revealing a hidden notebook's existence and creation time.
AuthZ
SiYuan 3.8.3 Stored XSS in gallery/kanban Node.js RCE
CVE-2026-100645
8.6 - High
- September 26, 2026
SiYuan versions 3.7.0 before 3.8.4 contain a stored cross-site scripting vulnerability in gallery and kanban database renderers where field descriptions are not escaped in aria-label attributes. In the Electron desktop app with nodeIntegration enabled, attackers can inject JavaScript that calls Node.js child_process APIs to execute arbitrary commands with user privileges.
XSS
SiYuan 3.8.3 Auth Origin Bypass RCE via /api/network/proxy
CVE-2026-100646
8.6 - High
- September 26, 2026
SiYuan is a self-hosted personal knowledge management system. In versions up to and including 3.8.3, the kernel's authentication guards (CheckAuth in kernel/model/session.go and IsSessionOriginAllowed in kernel/util/net.go) fail open when the HTTP Origin header is absent, on the incorrect assumption that any browser-initiated cross-site request carries an Origin. Because browsers omit Origin on cross-site top-level GET navigations and no-cors GET subresource loads and the session cookie is SameSite=Lax a single cross-site GET issued from any attacker-controlled web page is granted RoleAdministrator, both on default installations with no access-authorization code and on password-protected instances with a live session. Combined with content-type sniffing on the /api/network/proxy endpoint, which allows attacker-controlled HTML to be served under SiYuan's own origin, this permits an unauthenticated remote attacker to execute arbitrary script in the SiYuan origin (http://127.0.0.1:6806), invoke administrator APIs, and exfiltrate the persistent kernel API token. This issue is fixed in version 3.8.4.
Origin Validation Error
SiYuan <3.8.4 SQLi in graph query endpoint (dailyNoteSavePath)
CVE-2026-100644
8.7 - High
- September 26, 2026
SiYuan before v3.8.4 contains a SQL injection vulnerability in the graph query endpoint where the dailyNoteSavePath parameter is concatenated into SQL without escaping. Unauthenticated attackers on published sites with auth disabled can inject SQL via UNION SELECT to extract arbitrary database rows from all notebooks.
SQL Injection
SiYuan <3.8.4 Stored XSS leading to RCE via Attribute View
CVE-2026-100643
8.5 - High
- September 26, 2026
SiYuan versions before v3.8.4 fail to properly escape four stored Attribute View values in textarea elements, allowing authenticated attackers to inject JavaScript by modifying field descriptions, template sources, select option descriptions, or footer calculation templates. Attackers can execute stored JavaScript when other users open affected database menus, and in the Electron desktop app with nodeIntegration enabled, this leads to command execution with SiYuan process privileges.
XSS
SiYuan <3.8.4 CSRF in CheckAuth lock-screen pass-through (admin loopback)
CVE-2026-100642
7.2 - High
- September 26, 2026
SiYuan versions from v2.1.0 before v3.8.4 contain a cross-site request forgery vulnerability in the CheckAuth lock-screen pass-through branch that grants administrator access to loopback requests without validating Origin headers. Attackers can craft malicious web pages that force victims to terminate the kernel process, read workspace configuration and proxy settings, and trigger administrative actions via zero-credential cross-origin requests from the victim's browser.
Origin Validation Error
SiYuan <3.8.4 XSS in flashcard API leads to RCE (nodeIntegration)
CVE-2026-100641
8.6 - High
- September 26, 2026
SiYuan before v3.8.4 does not HTML-escape stored flashcard block content before interpolating it into the card-manager list markup. Block content returned by /api/riff/getRiffCards is inserted into a card item template in app/src/card/viewCards.ts and assigned to listElement.innerHTML, so content such as <img src=invalid onerror=...> becomes an executable event-handler attribute. Because the SiYuan desktop (Electron) main window is created with nodeIntegration enabled and contextIsolation disabled, an administrator who opens the card manager on a workspace containing attacker-supplied flashcard content (for example introduced through contribution or import) executes the attacker's script in a privileged renderer, which can lead to arbitrary code execution on the host. The affected endpoint remains behind authentication and administrator-role checks; this is an untrusted-content-to-privileged-renderer issue, not an authorization bypass.
XSS
SiYuan v3.8.3 data-subtype HTML-escape bypass RCE (fixed in 3.8.4)
CVE-2026-100639
8.6 - High
- September 26, 2026
SiYuan v3.8.3 fails to HTML-escape the data-subtype attribute when generating gutter-button markup (app/src/protyle/gutter/button.ts, assigned via innerHTML in app/src/protyle/gutter/index.ts) from content pasted as plain-text Markdown containing a Kramdown inline attribute list (IAL). Because the shared Lute renderer parses Kramdown IAL from text/plain input, an attacker-supplied Markdown snippet using entity-encoded quotes in data-subtype breaks out of the attribute value when the gutter markup is re-parsed by the browser, injecting additional attributes such as autofocus and onfocus. If a victim pastes the crafted Markdown and the affected gutter control receives focus, the injected handler executes; in the Electron desktop application, where the main BrowserWindow enables Node integration and disables context isolation, this results in JavaScript execution with renderer Node.js privileges (remote code execution). Fixed in v3.8.4.
XSS
SiYuan < 3.8.4 IPC Auth Bypass Allows Clipboard Read via Remote Renderer
CVE-2026-100640
8.6 - High
- September 26, 2026
SiYuan before v3.8.4 contains an authorization omission in the siyuan-get IPC handler that allows remote-kernel renderers to access native clipboard formats by invoking clipboardReadMathML, clipboardReadOffice, and clipboardReadWPS commands with matching plaintext. Attackers controlling remote renderer content can obtain MathML formulas, Office bytes, and WPS bytes from local clipboard during user-mediated paste operations.
Information Disclosure
SiYuan <3.8.4 Path Traversal in setNotebookIcon (CVE-2026-100638)
CVE-2026-100638
8.3 - High
- September 26, 2026
SiYuan versions before v3.8.4 contain a path traversal vulnerability in the setNotebookIcon endpoint that allows authenticated administrators to create arbitrary directory trees and write files outside the workspace boundary. Attackers can supply directory traversal sequences in the notebook parameter to escape the workspace data directory and write conf.json files to arbitrary locations accessible by the kernel process.
External Control of File Name or Path
SiYuan <3.8.4 Path Traversal in exportBrowserHTML Endpoint (Auth)
CVE-2026-100636
8.3 - High
- September 26, 2026
SiYuan versions before v3.8.4 contain a path traversal vulnerability in the exportBrowserHTML endpoint that allows authenticated administrators to write arbitrary HTML content to index.html outside the workspace directory. Attackers can supply a folder parameter with directory traversal sequences to escape the export directory and overwrite index.html in any pre-existing kernel-writable location, enabling stored XSS or workspace defacement.
Directory traversal
SiYuan <3.8.4 Path Traversal in checkoutRepo endpoint (auth admin)
CVE-2026-100637
8.3 - High
- September 26, 2026
SiYuan versions before v3.8.4 contain a path traversal vulnerability in the checkoutRepo endpoint that allows authenticated administrators to write JSON files outside the workspace. Attackers can supply a sessionID parameter containing directory traversal sequences to overwrite arbitrary JSON files in pre-existing kernel-writable directories outside workspace boundaries.
External Control of File Name or Path
SiYuan <3.8.4 auth bypass via insecure publish cookie (HTTP)
CVE-2026-100635
8.2 - High
- September 26, 2026
SiYuan before v3.8.4 contains an authentication bypass vulnerability in the publish service where session cookies are issued without Secure or SameSite attributes over plaintext HTTP connections. An on-path attacker can observe a valid publish-visitor-session-id cookie from a Basic Auth exchange and replay it to access authenticated publish endpoints without knowing the account password.
Cleartext Transmission of Sensitive Information
SiYuan <3.8.4 Electron IPC Handler Remote DoS via Unvalidated Sender
CVE-2026-100634
5.3 - Medium
- September 26, 2026
SiYuan before v3.8.4 does not validate the sender or restrict recipients in the 'siyuan-send-windows' IPC handler of the Electron main process (app/electron/main.js). The handler ignores event.sender and forwards any received payload to every BrowserWindow returned by BrowserWindow.getAllWindows(), including windows belonging to other opened workspaces. A renderer connected to an attacker-controlled remote kernel can therefore send {cmd: "lockscreenByMode"} and have it delivered across the workspace boundary; a sibling workspace window whose lockScreenMode is set to 1 invokes lockScreen(). Repeated messages allow the remote workspace to repeatedly lock unrelated local workspace windows, causing a limited denial of service. No confidentiality, integrity, or code-execution impact was observed.
AuthZ
SiYuan 3.8.0-3.8.3 Path Guard Bypass in MCP File Ops
CVE-2026-100633
8.5 - High
- September 26, 2026
SiYuan is a self-hosted personal knowledge management system. In versions 3.8.0 through 3.8.3, the MCP file tool's sensitive-path guard (util.IsForbiddenAbsPath(), invoked from resolvePath()) is applied only to the allowed root of recursive operations and not to each resolved descendant path an incomplete fix for GHSA-c8r8-95hg-mp34. An authenticated administrator using the in-app Agent or the external MCP server can therefore bypass the protected-workspace-file denylist: file.grep can return matching lines from non-hidden protected descendants (for example conf/conf.json, TLS keys, data/snippets/conf.json, data/templates/, data/.siyuan/publishAccess.json, notebook .siyuan internals, or the kernel log), file.copy can copy protected descendants to an ordinary path where file.read can then retrieve them, and unzip can overwrite protected descendants using ordinary, lexically contained ZIP member names. Because file.grep is globally classified as a safe action, it receives no per-call confirmation, and the confirmation cards for file.copy and unzip show only the allowed root arguments. This issue is fixed in version 3.8.4. Suggested title: SiYuan 3.8.0 through 3.8.3 Sensitive-Path Guard Bypass in Recursive MCP File Operations.
AuthZ
SiYuan 3.8.4 XSS via Daily Note Picker Unescaped Notebook Names in Electron
CVE-2026-93922
8.6 - High
- September 18, 2026
SiYuan before 3.8.5 renders notebook names as raw HTML in the Daily Note picker dialog without escaping, allowing stored cross-site scripting in the Electron renderer. Attackers can create notebooks with HTML payloads in names that execute JavaScript with Node.js access when the picker opens, enabling operating system command execution.
XSS
SiYuan <=3.8.4 XSS via unescaped heading style attributes
CVE-2026-93923
8.6 - High
- September 18, 2026
SiYuan before 3.8.5 fails to escape heading style attributes when rendering outline and bookmark dock HTML, allowing stored cross-site scripting. Attackers can supply crafted notebooks or call administrative endpoints to inject malicious style values that execute in the Electron renderer with full system access.
XSS
SiYuan <=3.8.4 getDynamicIcon AC Bypass (ReadOnly Token)
CVE-2026-93921
5.3 - Medium
- September 18, 2026
SiYuan versions before 3.8.5 fail to enforce publish access control in the getDynamicIcon endpoint, allowing read-only token holders to access document metadata. Attackers can call the endpoint with type=8 and crafted content to read block titles, names, aliases, and hierarchical paths of restricted documents via template injection.
AuthZ
SQLi in SiYuan <3.8.3 via graph.go query2Stmt (tag injection)
CVE-2026-93591
7.2 - High
- September 18, 2026
SiYuan versions before 3.8.3 contain an SQL injection vulnerability in the graph.go query2Stmt function where tag values are concatenated raw into SQL string literals without escaping single quotes. A publish-mode reader or anonymous visitor can inject SQL via inline HTML span tags in the getGraph endpoint to execute arbitrary queries on the read-write database and exfiltrate private data across notebooks.
SQL Injection
SiYuan <=3.8.4 XSS via backlink title rendering in Electron
CVE-2026-92986
8.6 - High
- September 17, 2026
SiYuan before 3.8.4 renders document titles as HTML in the backlink dock tree without escaping markup characters. Attackers can set malicious titles through the rename API or crafted notebooks to execute scripts in the Electron renderer with access to child_process for command execution.
XSS
SiYuan <3.8.4 XSS via .sy Bookmark Labels (Exec)
CVE-2026-92985
8.6 - High
- September 17, 2026
SiYuan versions before 3.8.4 fail to escape bookmark labels imported from notebook files when rendering them in the dock tree. Attackers can craft malicious .sy notebook files with unescaped HTML in bookmark attributes that execute scripts in the Electron renderer with access to child_process for command execution.
XSS
SiYuan <v3.8.2: Authenticated Path Traversal via /api/riff/removeRiffDeck
CVE-2026-87815
8.4 - High
- September 09, 2026
SiYuan versions before v3.8.2 contain a path traversal vulnerability in the /api/riff/removeRiffDeck endpoint that fails to validate the deckID parameter. An authenticated administrator can supply path traversal sequences to delete arbitrary .deck and .cards files outside the workspace directory.
External Control of File Name or Path
SiYuan <3.8.2 Stored XSS via Search Asset Preview (innerHTML)
CVE-2026-87814
8.4 - High
- September 09, 2026
SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in the search asset preview feature that fails to escape indexed asset content before inserting it into the DOM using innerHTML. Attackers who can place crafted text assets in a workspace can execute JavaScript in the SiYuan origin when victims preview the assets, enabling authenticated API requests and workspace manipulation.
XSS
SiYuan <3.8.2 XSS via Search Assets Filename Injection
CVE-2026-87813
8.4 - High
- September 09, 2026
SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in the Search Assets result list where asset filenames are interpolated into HTML without escaping. Authenticated attackers can craft asset filenames containing malicious markup that executes JavaScript in the victim's browser when searching assets, enabling same-origin API requests and application state manipulation.
XSS
SiYuan <3.8.2 XSS via iconURL in Bazaar package cards
CVE-2026-87812
7.4 - High
- September 09, 2026
SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in Bazaar package cards where the iconURL metadata is inserted directly into HTML img src attributes without escaping. Attackers can inject malicious URLs with event handlers that execute JavaScript in the authenticated SiYuan origin when users view Bazaar listings, enabling API requests and application state manipulation.
XSS
SiYuan <3.8.2 XSS via unsanitized template path in notebook config
CVE-2026-87811
8.4 - High
- September 09, 2026
SiYuan before v3.8.2 inserts persisted notebook template paths into HTML input value attributes without proper attribute encoding. Attackers can craft malicious template paths that break out of the attribute context and execute JavaScript when a victim opens notebook configuration, enabling same-origin API requests and application state manipulation.
XSS
Siyuan <3.8.2 Match Count Leak in /api/search/fullTextSearchBlock
CVE-2026-87810
6.9 - Medium
- September 09, 2026
Siyuan before v3.8.2 contains an information disclosure vulnerability in the POST /api/search/fullTextSearchBlock endpoint that filters private blocks from results but returns unfiltered match counts. Unauthenticated publish-mode readers can submit arbitrary search terms to learn whether matching content exists in hidden or unpublished documents and determine the number of matching blocks and pages.
Information Disclosure
Stay on top of Security Vulnerabilities
Want an email whenever new vulnerabilities are published for B3log Siyuan or by B3log? Click the Watch button to subscribe.