CVE-2026-31807 — Vulnerability in...
SiYuan has a SVG Sanitizer Bypass via `<animate>` Element — Unauthenticated XSS
Summary
Advisory Timeline
- First published March 10, 2026 (215 days ago).
- Last revised March 23, 2026 — 12 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260310025236-297bd526708f
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 | 0.0.0-20260310025236-297bd526708f |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
References
Frequently Asked Questions
- What is CVE-2026-31807?
- SiYuan has a SVG Sanitizer Bypass via `<animate>` Element — Unauthenticated XSS This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2026-31807?
- CVE-2026-31807 affects github.com/siyuan-note/siyuan/kernel. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-31807 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-44670CRITICAL
SiYuan Affected by Stored XSS via Attribute View Name to Electron Renderer RCE
- CVE-2026-69085CRITICAL
SiYuan: Unauthenticated SQL injection in searchDocs via unescaped keyword (publish mode): cross-notebook read/write with statement stacking
- 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-33670CRITICAL
SiYuan has directory traversal within its publishing service
- 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
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies