55 matches found
CVE-2026-32767
SiYuan (personal knowledge management) versions 3.6.0 and earlier are affected by an authorization bypass in the /api/search/fullTextSearchBlock endpoint. When the method parameter is 2, user input is passed directly as a raw SQL statement to the SQLite database without authorization or read‑only...
CVE-2025-21609
CVE-2025-21609 affects SiYuan Note 3.1.18. The vulnerability exists in the POST /api/history/getDocHistoryContent endpoint, where an attacker can craft a payload to cause arbitrary file deletion on the server. The issue is addressed by commit d9887aeec1b27073bec66299a9a4181dc42969f3, with a fix e...
CVE-2024-55659
CVE-2024-55659 affects SiYuan prior to version 3.1.16. The endpoint /api/asset/upload is vulnerable to arbitrary file write to the host and can enable stored cross-site scripting via the file write. A patch was released in version 3.1.16 to address the issue. Multiple connected sources (NVD, OSV,...
CVE-2024-55657
CVE-2024-55657 affects Siyuan prior to version 3.1.16, where an arbitrary file read vulnerability exists in the /api/template/render endpoint due to insufficient path validation. The issue allows reading sensitive host files and is mitigated by upgrading to version 3.1.16, which includes a patch....
CVE-2024-55658
SiYuan has a path traversal vulnerability in its API: /api/export/exportResources allows arbitrary file reads on versions prior to 3.1.16 by manipulating the paths parameter to traverse the workspace directory structure. The issue is confirmed across multiple sources confirming 3.1.16 includes a ...
CVE-2024-55660
SiYuan (personal knowledge management system) has a confirmed SSTI vulnerability in the /api/template/renderSprig endpoint affecting versions prior to 3.1.16. The issue arises from the Sprig template engine and enables access to environment variables. Version 3.1.16 contains the patch. Connected ...
CVE-2024-53507
Siyuan 3.1.11 contains a SQL injection vulnerability in the /getHistoryItems endpoint. The CVE notes an exploitation path over the network with no user interaction, and the CVSSv3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) yields a base score of 9.8 (CRITICAL). The incident is corroborated by...
CVE-2024-53506
CVE-2024-53506 affects Siyuan 3.1.11 via the ids array parameter in the /batchGetBlockAttrs API, enabling a SQL injection vulnerability in the affected endpoint. The CVSS 3.1 vector indicates high impact (C/H, I/H, A/H) with a base score of 9.8 and NETWORK attack vector, no privileges required, a...
CVE-2024-53504
CVE-2024-53504 describes an SQL injection in Siyuan 3.1.11 exploitable via the notebook parameter in /searchHistory. The metric indicates a critical impact (CVSS v3.1: 9.8, High confidentiality, integrity, and availability impacts) with network attack vector and no privileges or user interaction ...
CVE-2024-53505
Siyuan 3.1.11 is affected by a SQL injection in the /getAssetContent API via the id parameter. Root cause: unsanitized id leads to injection; impact per CVSS v3.1 is CRITICAL (Confidentiality, Integrity, Availability) with a base score of 9.8. No patch details are provided in the documents; a pra...
CVE-2026-23850
SiYuan vulnerable to SSRF/LFD via createDocWithMd: unsanitized markdown can reach local files or internal resources. Affected versions prior to 3.5.4; fix is 3.5.4+. Public sources (OSV, GHSA, Snyk, Red Hat) describe SSRF through markdown handling in kernel/model/file.go and kernel/api/filetree.g...
CVE-2026-39846
CVE-2026-39846 – SiYuan Electron desktop client is affected prior to 3.6.4. A crafted note with table caption content that is stored without safe escaping can be unescaped in rendered HTML, creating a stored XSS sink. Since the desktop renderer runs with nodeIntegration enabled and contextIsolati...
CVE-2024-2692
CVE-2024-2692 affects SiYuan version 3.0.3, with a Server-Side XSS weakness that allows an attacker to execute arbitrary commands on the server. The vulnerability is described across multiple sources as enabling remote command execution due to improper handling of input leading to server-side cod...
CVE-2024-6938
SiYuan 3.1.0 is affected by CVE-2024-6938 in the PDF Handler’s PDF.js functionality. The vulnerability enables cross-site scripting via the PDF.js component, with remote exploitation possible. The PT-2024-37976 entry confirms this affects SiYuan 3.1.0 and attributes the issue to the PDF.js file w...
CVE-2026-25539
SiYuan has an Arbitrary File Write vulnerability via /api/file/copyFile. Prior to version 3.5.5, the dest parameter is not validated, allowing an authenticated user to copy a file to arbitrary locations (e.g., cron jobs, SSH authorized_keys, or shell config files) and achieve Remote Code Executio...
CVE-2026-29183
SiYuan Note/CMS exposes an unauthenticated reflected XSS via GET /api/icon/getDynamicIcon with type=8, where attacker-controlled content is inserted into SVG output without escaping. Prior to 3.5.9, this allowed injection of executable JavaScript in the SiYuan web origin, potentially enabling act...
CVE-2026-32749
CVE-2026-32749 (SiYuan) affects SiYuan
CVE-2026-30869
SiYuan contains a path traversal vulnerability in the /export endpoint prior to version 3.5.10. Double-encoded traversal sequences can read arbitrary server files (e.g., conf/conf.json) containing secrets such as the API token, cookie signing key, and workspace authentication code. Leakage could ...
CVE-2026-34448
SiYuan prior to 3.6.2 is affected by a stored XSS in the Attribute View Gallery/Kanban rendering: placing a malicious URL in an Asset Field can be injected into an tag without escaping, with the Electron desktop client executing injected code due to nodeIntegration enabled and contextIsolation d...
CVE-2026-33067
SiYuan (versions ≤ 3.6.0) is affected by an XSS vulnerability in package metadata rendering (displayName, description) that is not HTML-escaped. An attacker could inject arbitrary HTML/JavaScript into these fields via a malicious Bazaar package, and due to the Electron configuration (nodeIntegrat...
CVE-2026-34605
SiYuan 3.6.0–3.6.1 suffer a bypass of the SanitizeSVG XSS fix on the unauthenticated /api/icon/getDynamicIcon endpoint. The Go HTML5 parser records namespace-prefixed SVG tags as x:script, allowing the tag to bypass the numeric sprite check; when served as image/svg+xml without a CSP, the browser...
CVE-2026-33670
SiYuan has a vulnerability CVE-2026-33670 where the /api/file/readDir interface allows directory traversal to enumerate filenames of all documents under a notebook. This occurs in versions prior to 3.6.2; the issue is mitigated by upgrading to 3.6.2 or later. The connected sources consistently de...
CVE-2026-34453
SiYuan exposes bookmarked blocks from password-protected documents via the publish service prior to 3.6.2. In publish/read-only mode, /api/bookmark/getBookmark uses FilterBlocksByPublishAccess(nil, ...) and treats a nil context as authorized, skipping the password check and returning content from...
CVE-2026-23847
SiYuan (git/github kernel) prior to 3.5.4 is vulnerable to reflected XSS in /api/icon/getDynamicIcon via unsanitized SVG input. The content parameter is injected into the SVG tag without XML escaping, and the image/svg+xml response enables JavaScript execution in attackers’ context. Remediation:...
CVE-2026-29073
Technical details about CVE-2026-29073 are not provided in the connected documents. The SUSE/OSV entries reference the CVE within a broader vulndb update but do not describe affected products, versions, or exploit specifics. Monitor for updates.
CVE-2026-32704
SiYuan exposes a vulnerability in the renderSprig endpoint prior to version 3.6.1. In POST /api/template/renderSprig, the missing model.CheckAdminRole check allows any authenticated user to execute raw SQL via the template engine (querySQL), enabling exfiltration of the workspace database content...
CVE-2026-34449
CVE-2026-34449 affects SiYuan Desktop prior to 3.6.2. The root cause is a permissive CORS/Private Network policy in the local API (Access-Control-Allow-Origin: * and Access-Control-Allow-Private-Network: true) coupled with an endpoint that can inject JavaScript snippets. An attacker-controlled pa...
CVE-2026-32750
CVE-2026-32750 (SiYuan) affects SiYuan versions 3.6.0 and earlier. The vulnerability occurs in POST /api/import/importStdMd, where the localPath parameter is passed directly to model.ImportFromLocalPath without path validation. The function recursively reads every file under the provided path and...
CVE-2026-40259
SiYuan prior to v3.6.4 is affected by CVE-2026-40259 via the /api/av/removeUnusedAttributeView endpoint. The issue arises because authentication via publish-service RoleReader is insufficient and the handler passes a caller-controlled id directly to a model function that unconditionally deletes t...
CVE-2026-32940
SiYuan Note's CVE-2026-32940 affects versions 3.6.0 and below where SanitizeSVG's blocklist is incomplete, allowing a click-through XSS via the unauthenticated /api/icon/getDynamicIcon endpoint. The endpoint echoes user-controlled input (content) directly into SVG markup using fmt.Sprintf with no...
CVE-2026-33203
CVE-2026-33203 affects SiYuan prior to 3.6.2. The SiYuan kernel WebSocket server accepts unauthenticated connections when an explicit auth keepalive parameter is present. After connection, messages are parsed with unchecked type assertions on attacker-controlled JSON, allowing a remote attacker t...
CVE-2026-31807
SiYuan: CVE-2026-31807 is a real issue in SVG sanitization prior to v3.5.10. The SVG sanitizer fails to block animation elements (e.g., /) in /api/icon/getDynamicIcon (type=8), allowing injection of JavaScript and a reflected XSS. Nuclei templates detail the exact vector: unauthenticated access t...
CVE-2026-33066
SiYuan CVE-2026-33066 affects versions 3.6.0 and earlier, where renderREADME can pass unsanitized HTML from Markdown to innerHTML, enabling stored XSS that escalates to RCE in Electron (nodeIntegration: true, contextIsolation: false). The incomplete fix in 3.6.1–3.6.3 allowed iframe-based XSS via...
CVE-2026-23852
SiYuan up to version 3.5.4 is vulnerable to a stored XSS via the icon attribute in blocks created through the /api/attr/setBlockAttrs API. The payload is rendered unsanitized within the dynamic icon feature, enabling stored XSS and, on desktop, potential RCE. The issue bypassed a prior fix for is...
CVE-2026-32751
SiYuan vulnerability CVE-2026-32751 affects versions 3.6.0 and earlier where the mobile file tree (MobileFiles.ts) renders notebook names with innerHTML without escaping during renamenotebook WebSocket events. This allows an authenticated user who can rename notebooks to inject HTML/JavaScript th...
CVE-2025-67488
SiYuan (self-hosted open source PIM) is affected by a ZipSlip vulnerability in the importZipMd function. The authenticated user with access to the import functionality can overwrite arbitrary files on the system, potentially escalating to remote code execution in some scenarios (e.g., via Docker ...
CVE-2026-23851
SiYuan Note (v3.5.3–pre-3.5.4) contains a logic flaw in /api/file/globalCopyFiles that lets authenticated users copy files from arbitrary locations on the server filesystem into the app workspace due to missing validation of source paths against the workspace boundary. The vulnerability exists in...
CVE-2026-23645
Summary: SiYuan Note is vulnerable to a Stored XSS via unrestricted SVG uploads in the kernel/upload path prior to version 3.5.4-dev2. The root cause is that uploaded SVG files are not sanitized, enabling embedded JavaScript to execute in an authenticated user’s session when the file is viewed or...
CVE-2026-33476
SiYuan kernel has an unauthenticated file-serving endpoint at /appearance/*filepath prior to version 3.6.2. Due to improper path sanitization, an attacker can perform directory traversal and read arbitrary files accessible to the server, bypassing authentication. Multiple sources (NVD, Red Hat ad...
CVE-2025-68948
SiYuan Note (pre-3.5.1) stores session data with a hardcoded cryptographic secret, making session encryption ineffective. The AccessAuthCode is kept in the session cookie, so an attacker who obtains or intercepts that cookie can locally decrypt it with the public key, retrieve the code in plain t...
CVE-2026-30926
Technical details about CVE-2026-30926 are not provided in the connected documents. The initial description contains specifics, but the connected SUSE/PTSecurity updates do not elaborate on affected products or impact. Monitor for official advisories.
CVE-2026-33194
SiYuan CVE-2026-33194 affects versions prior to 3.6.2. The vulnerability stems from an incomplete denylist in the IsSensitivePath() function (kernel/util/path.go) which was expanded but still does not block several Linux directories such as /opt, /usr, /home, /mnt, and /media. The affected endpoi...
CVE-2026-40107
Summary: SiYuan before 3.6.4 configures Mermaid.js with securityLevel: loose and htmlLabels: true, allowing tags to survive DOMPurify and land in SVG blocks. The SVG is injected via innerHTML with no secondary sanitization. When a user opens a note containing a malicious Mermaid diagram, the El...
CVE-2026-40318
SiYuan prior to 3.6.4 is affected by a server-side path traversal in the /api/av/removeUnusedAttributeView endpoint, where the user-controlled id is concatenated into a path (via filepath.Join(util.DataDir, "storage", "av", id+".json")) without boundary checks. An attacker can supply traversal se...
CVE-2026-33669
SiYuan (personal knowledge management system) had a vulnerability prior to version 3.6.2 where document IDs could be retrieved via /api/file/readDir and then /api/block/getChildBlocks could be used to view content of all documents, effectively enabling arbitrary document reading within the Publis...
CVE-2026-40922
CVE-2026-40922 (SiYuan) : In SiYuan versions 3.6.1–3.6.3, an incomplete sanitization of bazaar README rendering allowed stored XSS via iframe srcdoc, escaping Lute HTML sanitizer and enabling embedded scripts to run in the Electron context with full app privileges. The issue stems from the saniti...
CVE-2026-32110
SiYuan (personal knowledge management system) suffers a Full-Read SSRF via the /api/network/forwardProxy endpoint prior to version 3.6.0. Authenticated users can supply a user-controlled URL and trigger the server to fetch arbitrary HTTP resources, with the system returning the full response body...
CVE-2026-32938
SiYuan desktop users running versions 3.6.0 and earlier are affected. The flaw in /api/lute/html2BlockDOM allows copying local files referenced by file:// links into the workspace assets directory without validating against a sensitive-path list. When combined with authenticated GET /assets/*path...
CVE-2026-40322
SiYuan (open-source PIM) versions 3.6.3 and earlier render Mermaid diagrams with securityLevel=loose, injecting the SVG via innerHTML. This allows attacker-controlled javascript: URLs in Mermaid blocks to survive into output, and on desktop builds with Electron, windows created with nodeIntegrati...
CVE-2026-32815
CVE-2026-32815 affects SiYuan Web UI: in versions 3.6.0 and earlier, the WebSocket endpoint /ws can accept unauthenticated connections when URL parameters (?app=siyuan&id=auth&type=auth) are supplied, enabling cross-origin WebSocket connections to receive all server push events and leak metadata ...