Vulnerabilities · 2026 · B3log
CVE-2026-23847
B3log Siyuan vulnerability
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.]
Affected products
Siyuan. The exact versions are in the references.
What to do now
- Check your exposureFind out whether B3log Siyuan runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93 · Exploit
- github.com/siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb0aa18777 · Patch
- github.com/siyuan-note/siyuan/issues/16844 · Patch
- nvd.nist.gov/vuln/detail/CVE-2026-23847
- github.com/advisories/GHSA-w836-5gpm-7r93
- nvd.nist.gov/vuln/detail/CVE-2026-23847
- cve.org/CVERecord?id=CVE-2026-23847
More vulnerabilities in B3log products
CVE-2026-23852CVE-2026-23851CVE-2026-23850CVE-2026-23645CVE-2025-68948CVE-2025-67488CVE-2025-21609CVE-2024-55660All 33
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.