github.com/siyuan-note/siyuan/kernel
Go57 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting github.com/siyuan-note/siyuan/kernelpage 1 of 2
- CVE-2024-55657HIGHCVSS 7.5EG 7.52024-12-12
SiYuan is a personal knowledge management system. Prior to version 3.1.16, an arbitrary file read vulnerability exists in Siyuan's `/api/template/render` endpoint. The absence of proper validation on the path parameter allows attackers to …
- CVE-2024-55658HIGHCVSS 7.5EG 7.52024-12-12
SiYuan is a personal knowledge management system. Prior to version 3.1.16, SiYuan's /api/export/exportResources endpoint is vulnerable to arbitary file read via path traversal. It is possible to manipulate the paths parameter to access and…
- CVE-2024-55659MEDIUMCVSS 5.4EG 5.42024-12-12
SiYuan is a personal knowledge management system. Prior to version 3.1.16, the `/api/asset/upload` endpoint in Siyuan is vulnerable to both arbitrary file write to the host and stored cross-site scripting (via the file write). Version 3.1.…
- CVE-2024-55660CRITICALCVSS 9.8EG 9.82024-12-12
SiYuan is a personal knowledge management system. Prior to version 3.1.16, SiYuan's `/api/template/renderSprig` endpoint is vulnerable to Server-Side Template Injection (SSTI) through the Sprig template engine. Although the engine has limi…
- CVE-2025-21609CRITICALCVSS 9.1EG 9.12025-01-03
SiYuan is self-hosted, open source personal knowledge management software. SiYuan Note version 3.1.18 has an arbitrary file deletion vulnerability. The vulnerability exists in the `POST /api/history/getDocHistoryContent` endpoint. An attac…
- CVE-2025-67488HIGHCVSS 8.8EG 8.82025-12-09
SiYuan is self-hosted, open source personal knowledge management software. Versions 0.0.0-20251202123337-6ef83b42c7ce and below contain function importZipMd which is vulnerable to ZipSlips, allowing an authenticated user to overwrite files…
- CVE-2026-23645MEDIUMCVSS 6.1EG 6.1✓ Fixed in 0.0.0-20260116101155-11115da3d0de2026-01-16
SiYuan is self-hosted, open source personal knowledge management software. Prior to 3.5.4-dev2, a Stored Cross-Site Scripting (XSS) vulnerability exists in SiYuan Note. The application does not sanitize uploaded SVG files. If a user upload…
- CVE-2026-23847MEDIUMCVSS 6.1EG 6.1✓ Fixed in 0.0.0-20260118021606-5c0cc375b4752026-01-19
SiYuan is a personal knowledge management system. Versions prior to 3.5.4 are vulnerable to reflected cross-site scripting in /api/icon/getDynamicIcon due to unsanitized SVG input. The endpoint generates SVG images for text icons (type=8).…
- CVE-2026-23850HIGHCVSS 7.5EG 7.5✓ Fixed in 0.0.0-20260118092326-b2274baba2e12026-01-19
SiYuan is a personal knowledge management system. In versions prior to 3.5.4, the markdown feature allows unrestricted server side html-rendering which allows arbitrary file read (LFD). Version 3.5.4 fixes the issue.
- CVE-2026-23851MEDIUMCVSS 6.5EG 6.5✓ Fixed in 0.0.0-20260118092521-f8f4b517077b2026-01-19
SiYuan is a personal knowledge management system. Versions prior to 3.5.4 contain a logic vulnerability in the /api/file/globalCopyFiles endpoint. The function allows authenticated users to copy files from any location on the server's file…
- CVE-2026-25539CRITICALCVSS 7.2EG 9.12026-02-04
SiYuan is a personal knowledge management system. Prior to version 3.5.5, the /api/file/copyFile endpoint does not validate the dest parameter, allowing authenticated users to write files to arbitrary locations on the filesystem. This can …
- CVE-2026-25992HIGHCVSS 7.5EG 7.52026-02-10
SiYuan is a personal knowledge management system. Prior to 3.5.5, the /api/file/getFile endpoint uses case-sensitive string equality checks to block access to sensitive files. On case-insensitive file systems such as Windows, attackers can…
- CVE-2026-29073HIGHCVSS 8.8EG 8.82026-03-06
SiYuan is a personal knowledge management system. Prior to version 3.6.0, the /api/query/sql lets a user run sql directly, but it only checks basic auth, not admin rights, any logged-in user, even readers, can run any sql query on the data…
- CVE-2026-29183MEDIUMCVSS 6.1EG 6.1✓ Fixed in 0.0.0-20260304034809-d68bd5a793912026-03-06
SiYuan is a personal knowledge management system. Prior to version 3.5.9, an unauthenticated reflected XSS vulnerability exists in the dynamic icon API endpoint "GET /api/icon/getDynamicIcon" when type=8, attacker-controlled content is emb…
- CVE-2026-30869CRITICALCVSS 9.8EG 9.8✓ Fixed in 3.5.102026-03-10
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 seque…
- CVE-2026-30926HIGHCVSS 7.1EG 7.12026-03-10
SiYuan is a personal knowledge management system. Prior to 3.5.10, a privilege escalation vulnerability exists in the publish service of SiYuan Note that allows low-privilege publish accounts (RoleReader) to modify notebook content via the…
- CVE-2026-31807MEDIUMCVSS 6.1EG 6.1✓ Fixed in 0.0.0-20260310025236-297bd526708f2026-03-10
SiYuan is a personal knowledge management system. Prior to 3.5.10, SiYuan's SVG sanitizer (SanitizeSVG) blocks dangerous elements (<script>, <iframe>, <foreignobject>) and removes on* event handlers and javascript: in href attributes. Howe…
- CVE-2026-31809MEDIUMCVSS 6.1EG 6.1✓ Fixed in 0.0.0-20260310025236-297bd526708f2026-03-10
SiYuan is a personal knowledge management system. Prior to 3.5.10, SiYuan's SVG sanitizer (SanitizeSVG) checks href attributes for the javascript: prefix using strings.HasPrefix(). However, inserting ASCII tab (	), newline ( ), or c…
- CVE-2026-32110HIGHCVSS 8.3EG 8.3✓ Fixed in 3.6.02026-03-11
SiYuan is a personal knowledge management system. Prior to 3.6.0, the /api/network/forwardProxy endpoint allows authenticated users to make arbitrary HTTP requests from the server. The endpoint accepts a user-controlled URL and makes HTTP …
- CVE-2026-32704MEDIUMCVSS 6.5EG 6.5✓ Fixed in 3.6.12026-03-16
SiYuan is a personal knowledge management system. Prior to 3.6.1, POST /api/template/renderSprig lacks model.CheckAdminRole, allowing any authenticated user to execute arbitrary SQL queries against the SiYuan workspace database and exfiltr…
- CVE-2026-32747MEDIUMCVSS 4.9EG 6.82026-03-19
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the globalCopyFiles API eads source files using filepath.Abs() with no workspace boundary check, relying solely on util.IsSensitivePath() whose blocklist omits…
- CVE-2026-32749CRITICALCVSS 9.1EG 9.12026-03-19
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, POST /api/import/importSY and POST /api/import/importZipMd write uploaded archives to a path derived from the multipart filename field without sanitization, all…
- CVE-2026-32751CRITICALCVSS 9.0EG 9.02026-03-19
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the mobile file tree (MobileFiles.ts) renders notebook names via innerHTML without HTML escaping when processing renamenotebook WebSocket events. The desktop ve…
- CVE-2026-32767CRITICALCVSS 9.8EG 9.82026-03-20
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-suppl…
- CVE-2026-32815HIGHCVSS 7.5EG 7.52026-03-19
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the WebSocket endpoint (/ws) allows unauthenticated connections when specific URL parameters are provided (?app=siyuan&id=auth&type=auth). This bypass, intended…
- CVE-2026-32938CRITICALCVSS 6.5EG 9.92026-03-20
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 …
- CVE-2026-33066CRITICALCVSS 9.0EG 9.0✓ Fixed in 0.0.0-20260314111550-b382f50e18802026-03-20
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the backend renderREADME function uses lute.New() without calling SetSanitize(true), allowing raw HTML embedded in Markdown to pass through unmodified. The fron…
- CVE-2026-33067CRITICALCVSS 9.0EG 9.0✓ Fixed in 0.0.0-20260317012524-fe4523fff2c82026-03-20
SiYuan is a personal knowledge management system. Versions 3.6.0 and below render package metadata fields (displayName, description) using template literals without HTML escaping. A malicious package author can inject arbitrary HTML/JavaSc…
- CVE-2026-33194MEDIUMCVSS 6.8EG 6.8✓ Fixed in 3.6.22026-03-20
SiYuan is a personal knowledge management system. Prior to version 3.6.2, the `IsSensitivePath()` function in `kernel/util/path.go` uses a denylist approach that was recently expanded (GHSA-h5vh-m7fg-w5h6, commit 9914fd1) but remains incom…
- CVE-2026-33203HIGHCVSS 7.5EG 7.5✓ Fixed in 3.6.22026-03-20
SiYuan is a personal knowledge management system. Prior to version 3.6.2, the SiYuan kernel WebSocket server accepts unauthenticated connections when a specific "auth keepalive" query parameter is present. After connection, incoming messag…
- CVE-2026-33476HIGHCVSS 7.5EG 7.52026-03-20
SiYuan is a personal knowledge management system. Prior to version 3.6.2, the Siyuan kernel exposes an unauthenticated file-serving endpoint under `/appearance/*filepath.` Due to improper path sanitization, attackers can perform directory …
- CVE-2026-33669CRITICALCVSS 7.5EG 9.82026-03-26
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. Vers…
- CVE-2026-33670CRITICALCVSS 7.5EG 9.82026-03-26
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.
- CVE-2026-34448CRITICALCVSS 9.0EG 9.0✓ Fixed in 3.6.22026-03-31
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 -…
- CVE-2026-34449CRITICALCVSS 9.6EG 9.6✓ Fixed in 3.6.22026-03-31
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: * + …
- CVE-2026-34453HIGHCVSS 7.5EG 7.5✓ Fixed in 3.6.22026-03-31
SiYuan is a personal knowledge management system. Prior to version 3.6.2, the publish service exposes bookmarked blocks from password-protected documents to unauthenticated visitors. In publish/read-only mode, /api/bookmark/getBookmark fil…
- CVE-2026-34585HIGHCVSS 8.2EG 8.2✓ Fixed in 0.0.0-20260329142331-918d1bd9f9672026-03-31
SiYuan is a personal knowledge management system. Prior to version 3.6.2, a vulnerability allows crafted block attribute values to bypass server-side attribute escaping when an HTML entity is mixed with raw special characters. An attacker …
- CVE-2026-34605MEDIUMCVSS 6.1EG 6.1✓ Fixed in 0.0.0-20260330031106-f09953afc57a2026-03-31
SiYuan is a personal knowledge management system. From version 3.6.0 to before version 3.6.2, the SanitizeSVG function introduced in version 3.6.0 to fix XSS in the unauthenticated /api/icon/getDynamicIcon endpoint can be bypassed by using…
- CVE-2026-39846CRITICALCVSS 9.0EG 9.0✓ Fixed in 0.0.0-20260407035653-2f416e5253f12026-04-07
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 witho…
- CVE-2026-40107MEDIUMCVSS 6.5EG 6.5✓ Fixed in 0.0.0-20260407035653-2f416e5253f12026-04-09
SiYuan is a personal knowledge management system. Prior to 3.6.4, SiYuan configures Mermaid.js with securityLevel: "loose" and htmlLabels: true. In this mode, <img> tags with src attributes survive Mermaid's internal DOMPurify and land in …
- CVE-2026-40259HIGHCVSS 8.1EG 8.1✓ Fixed in 0.0.0-20260407035653-2f416e5253f12026-04-16
SiYuan is an open-source personal knowledge management system. In versions 3.6.3 and below, the /api/av/removeUnusedAttributeView endpoint is protected only by generic authentication that accepts publish-service RoleReader tokens. The hand…
- CVE-2026-40318HIGHCVSS 8.5EG 8.5✓ Fixed in 3.6.40.0.0-20260407035653-2f416e5253f12026-04-16
SiYuan is an open-source personal knowledge management system. In versions 3.6.3 and prior, the /api/av/removeUnusedAttributeView endpoint constructs a filesystem path using the user-controlled id parameter without validation or path bound…
- CVE-2026-40922MEDIUMCVSS 5.4EG 5.4✓ Fixed in 0.0.0-20260414013942-62eed37a32632026-04-17
SiYuan is an open-source personal knowledge management system. In versions 3.6.1 through 3.6.3, a prior fix for XSS in bazaar README rendering (incomplete fix for CVE-2026-33066) enabled the Lute HTML sanitizer, but the sanitizer does not …
- CVE-2026-41894HIGHCVSS 7.1EG 7.1✓ Fixed in 3.6.52026-04-24
SiYuan is an open-source personal knowledge management system. Prior to 3.6.5, the fix for CVE-2026-30869 only added a denylist check (IsSensitivePath) but did not address the root cause — a redundant url.PathUnescape() call in serveExpo…
- CVE-2026-44588CRITICALCVSS 9.4EG 9.42026-05-14
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 message…
- CVE-2026-44670CRITICALCVSS 9.4EG 9.4✓ Fixed in 0.0.0-20260512140701-d7b77d945e0d2026-05-14
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)…
- CVE-2026-45147MEDIUMCVSS 4.3EG 4.3✓ Fixed in 0.0.0-20260512140701-d7b77d945e0d2026-05-14
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, POST /api/tag/getTag is registered with model.CheckAuth only, omitting both model.CheckAdminRole and model.CheckReadonly, despite the handler performing a confi…
- CVE-2026-45148MEDIUMCVSS 4.3EG 4.3✓ Fixed in 0.0.0-20260512140701-d7b77d945e0d2026-05-14
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, broken access control in the searchAsset, searchTag, searchWidget, and searchTemplate publish-mode Readers can enumerate metadata from documents that are invisi…
- CVE-2026-45371HIGHCVSS 7.2EG 7.2✓ Fixed in 0.0.0-20260512140701-d7b77d945e0d2026-05-14
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan publish-mode Reader can mutate Conf and SQL index via 8 ungated APIs. POST /api/graph/getGraph, POST /api/graph/getLocalGraph, POST /api/sync/setSyncInte…
- CVE-2026-45375CRITICALCVSS 9.0EG 9.02026-05-14
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.j…
Check whether github.com/siyuan-note/siyuan/kernel is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for github.com/siyuan-note/siyuan/kernel CVEs against the assets you own.
Start Free Scan →