github.com/siyuan-note/siyuan/kernel
Go92 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 2 of 2
- CVE-2026-50551CRITICALCVSS 9.9EG 9.9✓ Fixed in 0.0.0-20260628153353-2d5d72223df42026-06-24
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 (…
- CVE-2026-54066HIGHCVSS 7.5EG 7.5✓ Fixed in 0.0.0-20260628153353-2d5d72223df42026-06-24
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the patch for CVE-2026-41894 ("Path Traversal via Double URL Encoding") sanitized the /export/ route but the identical root cause remains in the /assets/*path r…
- CVE-2026-54067CRITICALCVSS 9.9EG 9.9✓ Fixed in 0.0.0-20260628153353-2d5d72223df42026-06-24
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 …
- CVE-2026-54068MEDIUMCVSS 5.9EG 5.9✓ Fixed in 0.0.0-20260628153353-2d5d72223df42026-06-24
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the /api/icon/getDynamicIcon endpoint is explicitly excluded from authentication in SiYuan's kernel router (router.go, "不需要鉴权" -- no auth needed). Whe…
- CVE-2026-54069CRITICALCVSS 9.2EG 9.2✓ Fixed in 0.0.0-20260628153353-2d5d72223df42026-06-24
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 …
- CVE-2026-54070HIGHCVSS 7.1EG 7.1✓ Fixed in 0.0.0-20260628153353-2d5d72223df42026-06-24
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, renderPackageREADME in kernel/bazaar/readme.go renders a Bazaar package README from Markdown to HTML with the lute engine and SetSanitize(true). The lute saniti…
- CVE-2026-54158CRITICALCVSS 9.9EG 9.9✓ Fixed in 0.0.0-20260628153353-2d5d72223df42026-06-24
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 lik…
- CVE-2026-56397CRITICALCVSS 9.6EG 9.6✓ Fixed in 0.0.0-20260317012524-fe4523fff2c82026-06-21
SiYuan before v3.6.1 fails to sanitize package metadata and README content in the Bazaar marketplace, allowing malicious package authors to inject arbitrary HTML and JavaScript. Attackers can achieve remote code execution on any user brows…
- CVE-2026-59832HIGHCVSS 7.7EG 7.7✓ Fixed in 0.0.0-20260704035520-68cc0f537dfa2026-07-09
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the /snippets/*filepath route handler serveSnippets in kernel/server/serve.go joins a single-decoded request path with the snippets directory without subpath co…
- CVE-2026-59834HIGHCVSS 7.5EG 7.5✓ Fixed in 0.0.0-20260704035518-d0f0fe146fb02026-07-09
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the block search endpoint POST /api/search/fullTextSearchBlock concatenates attacker-controlled paths values into SQL predicates used by non-SQL search modes, a…
- CVE-2026-65607MEDIUMCVSS 6.5EG 6.5✓ Fixed in 0.0.0-20260510110132-b763d787d1f22026-07-23
SiYuan before v3.7.2 contains a path traversal vulnerability in the /export/temp/ short-circuit branch of the serveExport handler (kernel/server/serve.go). Unlike the main export branch, this branch joins the raw, percent-decoded request p…
- CVE-2026-66394HIGHCVSS 8.7EG 8.7✓ Fixed in 0.0.0-20260714095344-f08dee71ba8e2026-07-27
SiYuan before v3.7.3 contains stored and reflected cross-site scripting vulnerabilities in SVG sanitization that allows authenticated attackers to execute scripts by bypassing the HTML parser-based cleaner. Attackers can hide script tags w…
- CVE-2026-68584HIGHCVSS 8.6EG 8.6✓ Fixed in 0.0.0-20260721020826-2d069dce84a22026-08-03
SiYuan versions before v3.7.3 contain an authentication bypass vulnerability in publish mode where content-returning endpoints getHeadingChildrenDOM, getHeading*Transaction, and getBacklinkDoc perform no password check despite protecting t…
- CVE-2026-68585MEDIUMCVSS 5.8EG 5.8✓ Fixed in 0.0.0-20260721014951-ffde3b21eca42026-08-03
SiYuan versions before v3.7.3 contain a metadata disclosure vulnerability in the /api/block/getBlockInfo endpoint that returns document root metadata including title for publish-forbidden documents without publish-access checks. Anonymous …
- CVE-2026-68586HIGHCVSS 8.6EG 8.6✓ Fixed in 0.0.0-20260721014413-f45749a7ef6e2026-08-03
SiYuan before v3.7.3 fails to apply publish-access filters to the getBacklinkDoc and getBackmentionDoc content endpoints (/api/ref/getBacklinkDoc and /api/ref/getBackmentionDoc). While the corresponding backlink list endpoints filter publi…
- CVE-2026-68587HIGHCVSS 8.6EG 8.6✓ Fixed in 0.0.0-20260721013353-69db783b782a2026-08-03
SiYuan versions before v3.7.3 contain an information disclosure vulnerability in the getHeadingDeleteTransaction, getHeadingLevelTransaction, and getHeadingInsertTransaction endpoints that return rendered block DOM without publish-access c…
- CVE-2026-69083CRITICALCVSS 10.0EG 10.0✓ Fixed in 0.0.0-20260721004815-cf42dd5680c82026-08-03
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-co…
- CVE-2026-69084CRITICALCVSS 10.0EG 10.0✓ Fixed in 0.0.0-20260721002947-23a17d44b5f32026-08-03
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 endpo…
- CVE-2026-69086HIGHCVSS 7.7EG 7.7✓ Fixed in 0.0.0-20260720151813-0f5a0e7c67b02026-08-03
SiYuan versions before v3.7.3 fail to validate the avID parameter on all code branches in attribute-view read endpoints, allowing attackers to construct traversal paths that escape the storage directory. Authenticated users with RoleReader…
- CVE-2026-72789HIGHCVSS 8.6EG 8.6✓ Fixed in 0.0.0-20260726020813-a25c2dd06aae2026-08-12
SiYuan before v3.7.4 fails to properly validate publish access for encrypted notebooks, treating them as publicly accessible by default. Anonymous readers can enumerate and retrieve fully decrypted document content from unlocked encrypted …
- CVE-2026-72790MEDIUMCVSS 5.8EG 5.8✓ Fixed in 0.0.0-20260726005141-9edb321eb4512026-08-12
SiYuan before v3.7.4 contains an information disclosure vulnerability in the /api/notebook/getNotebookInfo endpoint that returns notebook metadata without authorization checks. Attackers can read notebook names, document counts, sizes, and…
- CVE-2026-72792MEDIUMCVSS 5.8EG 5.8✓ Fixed in 0.0.0-20260726002639-4515fa257cfa2026-08-12
SiYuan before v3.7.4 contains an information disclosure vulnerability in the /api/tag/getTag endpoint that returns tag labels and occurrence counts from password-protected documents to unauthenticated readers. Attackers can enumerate tag v…
- CVE-2026-72793HIGHCVSS 8.6EG 8.6✓ Fixed in 0.0.0-20260725132049-2d8b98395a912026-08-12
SiYuan versions before v3.7.4 fail to mask sensitive configuration fields in the /api/system/getConf endpoint, allowing anonymous or publish-reader users to obtain the session-cookie signing key, OS username via pandoc path, and encrypted-…
- CVE-2026-72794HIGHCVSS 8.6EG 8.6✓ Fixed in 0.0.0-20260725123945-77421530be4a2026-08-12
siyuan versions before v3.7.4 expose the session cookie signing key through the /api/system/getConf endpoint to unauthenticated users in publish mode. Attackers can retrieve the CookieKey value and forge valid session cookies to impersonat…
- CVE-2026-72795HIGHCVSS 8.6EG 8.6✓ Fixed in 0.0.0-20260725125659-1ca1c3c9d94b2026-08-12
SiYuan versions before v3.7.4 fail to filter embedded block content by publish access in the getBlockDOMWithEmbed and getBlockDOMsWithEmbed endpoints. Attackers can request published blocks containing embed queries to read content from pas…
- CVE-2026-72796MEDIUMCVSS 5.8EG 5.8✓ Fixed in 0.0.0-20260725122641-34be6c0bb0732026-08-12
SiYuan before v3.7.4 contains an access control bypass vulnerability where static-file routes in the server mux bypass publish-access controls enforced on the REST API. Attackers with publish reader tokens or anonymous access in disabled-a…
- CVE-2026-72797MEDIUMCVSS 5.8EG 5.8✓ Fixed in 0.0.0-20260724123622-8fb1b57660932026-08-12
SiYuan versions before v3.7.4 contain an information disclosure vulnerability in the getEncryptedNotebookStatus endpoint that returns encrypted notebook identifiers, names, and lock states without publish-access filtering. Anonymous reader…
- CVE-2026-72798HIGHCVSS 8.6EG 8.6✓ Fixed in 0.0.0-20260724121519-426991d155c02026-08-12
SiYuan versions before v3.7.4 fail to properly filter related-database content in renderAttributeView, allowing anonymous readers to access Relation and Rollup cell contents from hidden or password-protected databases. Attackers can reques…
- CVE-2026-72799MEDIUMCVSS 5.8EG 5.8✓ Fixed in 0.0.0-20260724112156-5bae0926b8962026-08-12
SiYuan before v3.7.4 (affected <=v3.7.2) fails to enforce publish-access filters on five filetree path-resolution endpoints (getFullHPathByID, getHPathByID, getPathByID, getIDsByHPath, and getHPathByPath). In publish mode, when Publish.Aut…
- CVE-2026-72800MEDIUMCVSS 5.8EG 5.8✓ Fixed in 0.0.0-20260724103335-f36331956ae92026-08-12
SiYuan versions before v3.7.4 fail to apply publish-access filtering to the getAttributeViewKeysByID endpoint, allowing authenticated readers to retrieve complete database column schemas including descriptions, select vocabularies, and tem…
- CVE-2026-72801HIGHCVSS 7.5EG 7.5✓ Fixed in 0.0.0-20260724102025-3bc014c7dc322026-08-12
SiYuan versions before v3.7.4 disclose encrypted-notebook key-derivation material and wrapped data keys through unauthenticated endpoints in publish mode. Attackers can retrieve Argon2id salt, cost parameters, password verifiers, and wrapp…
- CVE-2026-72802MEDIUMCVSS 5.3EG 5.3✓ Fixed in 0.0.0-20260724095509-eee3410aa1312026-08-12
SiYuan versions before v3.7.4 contain an information disclosure vulnerability in the resolveAssetPath endpoint that returns absolute filesystem paths unmodified to CheckAuth-only requests. Attackers can harvest relative asset paths from pu…
- CVE-2026-72803MEDIUMCVSS 5.8EG 5.8✓ Fixed in 0.0.0-20260724093256-229fdffd7e4a2026-08-12
SiYuan versions before v3.7.4 fail to enforce publish-access checks in the getBlockAttrs and batchGetBlockAttrs endpoints. Attackers can retrieve block attributes including names, aliases, memos, and custom fields from protected documents …
- CVE-2026-72804HIGHCVSS 8.6EG 8.6✓ Fixed in 0.0.0-20260724091654-82e9ded423e42026-08-12
SiYuan versions before v3.7.4 fail to validate publish-password tier in getGraph and getLocalGraph endpoints, allowing anonymous readers to retrieve block-level content of password-protected documents. Attackers can call these endpoints wi…
- CVE-2026-72805MEDIUMCVSS 5.8EG 5.8✓ Fixed in 0.0.0-20260723163028-931ba693375e2026-08-12
SiYuan versions before v3.7.4 fail to enforce publish-access checks on getBlockBreadcrumb, getRefText, and getBlockTreeInfos endpoints, allowing disclosure of protected document content and metadata. Anonymous readers or publish RoleReader…
- CVE-2026-72806MEDIUMCVSS 5.8EG 5.8✓ Fixed in 0.0.0-20260723040913-768427f20f132026-08-12
SiYuan versions before v3.7.4 contain an authentication bypass vulnerability in the FilterViewByPublishAccess filter that fails to check publish password protection when rendering attribute views and database rows. Unauthenticated readers …
- CVE-2026-72807HIGHCVSS 8.0EG 8.0✓ Fixed in 0.0.0-20260723035036-0a176345e02a2026-08-12
SiYuan versions before v3.7.4 contain a second-order SQL injection vulnerability in attribute-view template columns that expose the queryBlocks function, which executes raw SQL using string substitution instead of parameterized queries. At…
- CVE-2026-72808MEDIUMCVSS 5.8EG 5.8✓ Fixed in 0.0.0-20260723031702-509b350559402026-08-12
SiYuan versions up to and including v3.7.2 (fixed in v3.7.4) contain an information disclosure vulnerability in the /api/asset/getFileAnnotation endpoint, which returns .sya PDF-annotation file content without a publish-access check. Becau…
- CVE-2026-72809HIGHCVSS 8.0EG 8.0✓ Fixed in 0.0.0-20260723031701-9c16e9851f0b2026-08-12
SiYuan versions <= v3.7.2 (patched in v3.7.4) contain an authentication bypass vulnerability in the kernel's CheckAuth function, which grants the administrator role (RoleAdministrator) to any request whose RemoteAddr is loopback (127.0.0.1…
- CVE-2026-72810HIGHCVSS 8.6EG 8.6✓ Fixed in 0.0.0-20260723013612-ba948639d7f62026-08-14
SiYuan versions before v3.7.4 contain a publish-boundary bypass vulnerability in WebSocket broadcast sessions that allows anonymous readers to receive unfiltered edits. Attackers can establish a WebSocket connection to the publish surface …
- CVE-2026-72811CRITICALCVSS 10.0EG 10.0✓ Fixed in 0.0.0-20260723004839-1a5b3431d5ab2026-08-14
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 int…
- CVE-2026-72812MEDIUMCVSS 6.5EG 6.5✓ Fixed in 0.0.0-20260723002528-7d273c271ce12026-08-14
SiYuan versions before v3.7.4 contain a missing authorization vulnerability in the /api/ref/refreshBacklink endpoint that allows anonymous readers to trigger persistent server-side writes. Attackers can invoke the endpoint with an attacker…
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 →