CVE-2026-40318 — Vulnerability in...
SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`
Summary
Advisory Timeline
- First published April 10, 2026 (185 days ago).
- Last revised September 10, 2026 — 152 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/siyuan-note/siyuan/kernel@v3.6.40.0.0-20260407035653-2f416e5253f1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: go (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/siyuan-note/siyuan/kernel | go | All versions | 3.6.40.0.0-20260407035653-2f416e5253f1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-24
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
References
Frequently Asked Questions
- What is CVE-2026-40318?
- SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView` This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.5/10).
- How do I check if my project is affected by CVE-2026-40318?
- CVE-2026-40318 affects github.com/siyuan-note/siyuan/kernel. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-40318 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-33669CRITICAL
SiYuan has Arbitrary Document Reading within the Publishing Service
- CVE-2026-50551CRITICAL
SiYuan: Stored XSS to RCE via Unsanitized Attribute View Asset Cell Content
- CVE-2026-54158CRITICAL
SiYuan: Stored XSS to RCE via attribute-view cell rendering in genAVValueHTML()
- CVE-2026-29183CRITICAL
SiYuan: Unauthenticated Reflected XSS via SVG Injection in /api/icon/getDynamicIcon Endpoint
- CVE-2026-72794HIGH
SiYuan: The session-cookie signing key (Conf.CookieKey) is returned to anonymous readers by /api/system/getConf
- CVE-2026-68586HIGH
SiYuan: Cross-boundary content disclosure via getBacklinkDoc/getBackmentionDoc (publish mode): reader-reachable rendered DOM of publish-forbidden docs; sibling list endpoints are filtered
- CVE-2026-32110HIGH
SiYuan has a Full-Read SSRF via /api/network/forwardProxy
- CVE-2026-31807MEDIUM
SiYuan has a SVG Sanitizer Bypass via `<animate>` Element — Unauthenticated XSS
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies