CVE-2026-34605: b3log siyuan Cross-site Scripting
Vulnerability summary
CVE-2026-34605 is a high (CVSS 8.6) Cross-site Scripting vulnerability in b3log siyuan. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 47.8% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 31-03-2026PublishedVulnerability first disclosed.
- 01-04-2026Last modifiedVulnerability information updated.
Description
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 namespace-prefixed element names such as <x:script xmlns:x="http://www.w3.org/2000/svg">. The Go HTML5 parser records the element's tag as "x:script" rather than "script", so the tag check passes it through. The SVG is served with Content-Type: image/svg+xml and no Content Security Policy; when a browser opens the response directly, its XML parser resolves the prefix to the SVG namespace and executes the embedded script. This issue has been patched in version 3.6.2.
CVSS metrics
5 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated8.6HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
- NVDNIST8.6HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
+0.13 pp
From 0.47% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundSiyuan
Maturity: poc
Weaknesses
CWE · root causeAffected systems
B3log1 product
- siyuan≥ 3.6.0, < 3.6.2
Github.com/siyuan-note/siyuan1 product
- kernel< 0.0.0-20260330031106-f09953afc57a
Siyuan-note1 product
- siyuan≥ 3.6.0, < 3.6.2
3 vendors · 3 products
References
5 links- github.com/siyuan-note/siyuan/security/advisories/GHSA-73g7-86qr-jrg3X Refsource CONFIRMWEBAdvisoryExploitVendor Advisory