Skip to content
OpenAdvisories

Vendor

siyuan-note

221 known vulnerabilities.

Products

92 results · Clear filters · Feed

  • High 7.5

    SiYuan before 3.8.5 Information Disclosure via /api/export/preview

    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 e…

  • High 7.1

    SiYuan before v3.8.4 SQL Injection via Block Query Embed

    SiYuan versions before v3.8.4 fail to properly validate SQL statements in block query embed blocks executed against siyuan.db. Attackers can craft malicious .sy documents with non-read-only SQL statements that execute automatically during background indexing,…

  • High 8.1

    SiYuan before v3.8.4 Authentication Bypass via Missing Origin Header

    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 head…

  • High 7.5

    SiYuan before v3.8.4 SQL Injection via dailyNoteSavePath

    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 S…

  • High 8.0

    SiYuan 3.7.0 before 3.8.4 Stored XSS via Gallery Kanban

    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, attack…

  • High 8.0

    SiYuan before v3.8.4 Stored XSS via Attribute View textarea

    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 calcul…

  • High 7.6

    SiYuan v2.1.0 before v3.8.4 Cross-Site Request Forgery via CheckAuth

    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 maliciou…

  • High 8.0

    SiYuan before v3.8.4 Stored XSS via Unescaped Flashcard Content

    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 assigne…

  • High 8.8

    SiYuan before v3.8.4 Cross-Site Scripting via Kramdown IAL

    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 i…

  • High 7.6

    SiYuan before v3.8.4 Path Traversal via checkoutRepo sessionID

    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 seq…

  • High 7.6

    SiYuan before v3.8.4 Path Traversal via setNotebookIcon

    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 tr…

  • High 7.6

    SiYuan before v3.8.4 Path Traversal via exportBrowserHTML folder

    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 parame…

  • High 8.8

    SiYuan through 3.8.4 Stored XSS via Heading Style Attribute

    SiYuan through 3.8.4 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 ex…

  • High 8.8

    SiYuan through 3.8.4 Stored XSS via notebook names

    SiYuan through 3.8.4 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 No…

  • High 7.6

    SiYuan before 3.8.3 SQL Injection via unescaped tag in graph.go

    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 vi…

  • High 8.8

    SiYuan before 3.8.4 Cross-Site Scripting via Document Title

    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_p…

  • High 8.8

    SiYuan before 3.8.4 Cross-Site Scripting via Bookmark Labels

    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 ren…

  • High 8.7

    SiYuan before v3.8.2 Path Traversal via removeRiffDeck

    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 …

  • High 7.3

    SiYuan before v3.8.2 Stored XSS via Asset Preview

    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 workspa…

  • High 7.3

    SiYuan before v3.8.2 Stored XSS via unescaped asset filenames

    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 ex…

  • High 7.3

    SiYuan before v3.8.2 Stored XSS via notebook template paths

    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 …

  • High 7.5

    siyuan before v3.8.2 SQL Injection via fullTextSearchBlock

    siyuan versions before v3.8.2 contain an authenticated SQL injection vulnerability in the fullTextSearchBlock endpoint's method=1 query parameter. Attackers can inject UNION SELECT statements to read the entire blocks table, bypassing publish-access controls …

  • High 8.8

    SiYuan before 3.8.2 Remote Code Execution via Clipboard

    SiYuan before 3.8.2 trusts the attacker-writable text/siyuan clipboard MIME type and skips sanitization in the paste handler, allowing code execution in the Node-enabled desktop renderer. Attackers can craft malicious web pages that write to the clipboard, an…

  • High 7.5

    SiYuan before v3.8.2 Denial of Service via Auth Throttle

    SiYuan versions before v3.8.2 contain a denial of service vulnerability in the publish-service Basic Auth throttle that stores failed-attempt state using attacker-controlled usernames without enforcing capacity limits or eviction policies. Unauthenticated att…

  • High 7.5

    SiYuan before v3.8.2 Unbounded Memory Consumption via ControlConcurrency

    SiYuan before v3.8.2 contains an unbounded resource consumption vulnerability in the request-concurrency middleware that retains mutex entries for every unique request path without eviction. Unauthenticated attackers can send numerous unique request paths to …

  • High 7.5

    SiYuan before v3.8.2 Denial of Service via unauthenticated UI-process registration

    SiYuan before v3.8.2 contains a denial of service vulnerability in the unauthenticated /api/system/uiproc endpoint that accepts and retains attacker-controlled process identifiers without size limits or authentication. Attackers can send repeated requests wit…

  • High 8.8

    SiYuan before v3.8.2 API Token Exposure via Log File

    SiYuan before v3.8.2 logs API tokens from query parameters in plaintext to an accessible log file when full-text search requests exceed timing thresholds. Authenticated attackers can read the log file via the getFile endpoint to recover admin API tokens and g…

  • High 8.8

    SiYuan before v3.8.2 TLS Private Key Disclosure via getFile

    SiYuan versions <= 3.8.1 (fixed in v3.8.2) contain an incomplete blocklist in the IsForbiddenAbsPath() function (kernel/util/path_guard.go), which only blocks conf/conf.json by exact match and does not restrict the TLS private key (conf/key.pem) or CA private…

  • High 8.9

    SiYuan before v3.8.1 Stored XSS via block name

    SiYuan before v3.8.1 fails to properly escape block name, alias, and memo fields in hint, backlink, and breadcrumb rendering functions. Attackers can set a block's name to contain HTML/script tags that execute when another user views documents referencing or …

  • High 8.9

    SiYuan before v3.8.1 Stored XSS via confirmDialog

    SiYuan before v3.8.1 contains a stored cross-site scripting vulnerability in confirmDialog() where unescaped package names and notebook names are interpolated directly into innerHTML assignments. Attackers can submit malicious bazaar packages with HTML/script…

  • High 7.0

    SiYuan before 3.8.1 Local Privilege Escalation via Uncontrolled Search Path

    SiYuan Windows installer before version 3.8.1 (affected versions >= 2.0.14) contains an uncontrolled search path element vulnerability in its NSIS installer, which invokes system executables such as TASKKILL by name rather than by absolute path. Because NSIS …

  • High 8.2

    SiYuan before v3.8.1 SSRF via DNS-Rebinding TOCTOU

    SiYuan versions before v3.8.1 contain a server-side request forgery vulnerability in the http_request and web_fetch agent tools that perform DNS resolution only at guard time without validating the connect-time resolution. Attackers can use DNS rebinding to a…

  • High 8.7

    SiYuan before v3.7.4 Arbitrary File Deletion via removeTemplate

    SiYuan versions before v3.7.4 contain an arbitrary file deletion vulnerability in the /api/search/removeTemplate endpoint that accepts an unvalidated path parameter passed directly to os.RemoveAll. Authenticated admin attackers can supply absolute filesystem …

  • High 8.6

    SiYuan before v3.7.4 XSS-to-RCE via pathName.ts

    SiYuan before v3.7.4 contains a cross-site scripting vulnerability in the file-tree picker's hover-tooltip generation (app/src/util/pathName.ts, getLeaf()/movePathTo()) used by the 'move/link to' path-selection dialogs, where document metadata fields (bookmar…

  • High 8.6

    SiYuan XSS-to-RCE via unescaped block metadata in hint popup

    SiYuan through 3.7.3 contains a cross-site scripting vulnerability in the '((' block-reference autocomplete hint popup. In genHintItemHTML() (app/src/protyle/hint/extend.ts), a candidate block's name, alias, and memo fields are concatenated into the popup's H…

  • High 7.5

    SiYuan before v3.7.4 Incorrect Authorization via Publish Access

    SiYuan before v3.7.4 contains an incorrect authorization vulnerability in eight publish-mode reader-facing endpoints that filter results using the visibility list instead of the disabled list. Anonymous visitors can discover and read content from documents ex…

  • High 7.5

    SiYuan before v3.7.4 Missing Authorization via block API

    SiYuan before v3.7.4 is missing authorization checks in 17 block metadata/content endpoints in kernel/api/block.go (including getRefText, checkBlockExist, and getBlockBreadcrumb). These handlers are gated only by basic authentication (model.CheckAuth) and lac…

  • High 7.1

    SiYuan before v3.7.4 SSRF via IPv6 Transition Address Bypass

    SiYuan before v3.7.4 contains a server-side request forgery (SSRF) vulnerability in the isPrivateIP function in kernel/util/net.go, used by SSRFSafeDialer to enforce SSRF protection in SafeMode. The function only checks for loopback, link-local unicast, priva…

  • High 8.6

    SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload

    SiYuan before v3.7.4 contains a cross-site scripting vulnerability in the file upload validation flow that fails to escape filenames before inserting them into HTML via insertAdjacentHTML. Attackers can craft a malicious filename containing script payloads th…

  • High 7.5

    SiYuan before 3.7.4 Brute-Force Authentication via Publish Service

    SiYuan versions before 3.7.4 contain an unthrottled brute-force vulnerability in the Publish Service Basic Auth implementation (PublishServiceTransport.RoundTrip() in kernel/server/proxy/publish.go). The Publish Service runs on a separate, unauthenticated-by-…