CVE-2026-23847: b3log siyuan Cross-site Scripting
Vulnerability summary
CVE-2026-23847 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in b3log siyuan. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 22.8% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 19-01-2026PublishedVulnerability first disclosed.
- 20-01-2026Last modifiedVulnerability information updated.
Description
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). The content query parameter is inserted directly into the SVG <text> tag without XML escaping. Since the response Content-Type is image/svg+xml, injecting unescaped tags allows breaking the XML structure and executing JavaScript. Version 3.5.4 patches the issue.]
CVSS metrics
5 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated5.3MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:PDiffers
- NVDNIST2.1LowCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P/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
- OSV · GoEcosystem advisory · calculated4.6MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
+0.01 pp
From 0.31% 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.5.4
Github.com/siyuan-note/siyuan1 product
- kernel< 0.0.0-20260118021606-5c0cc375b475
Siyuan-note1 product
- siyuan< 3.5.4
3 vendors · 3 products
References
5 links- github.com/siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93X Refsource CONFIRMWEBAdvisoryExploitPatchVendor Advisory
- github.com/siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb0aa18777X Refsource MISCWEBPatch