{"cve":"CVE-2026-23847","nvd":{"published":"2026-01-19T20:15:49.393","modified":"2026-06-17T10:22:11.897","status":"Analyzed","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_v4":{"vector":"CVSS: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","score":2.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb0aa18777","https://github.com/siyuan-note/siyuan/issues/16844","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w836-5gpm-7r93"],"products":["b3log:siyuan"],"source":"nvd","synced_at":"2026-10-19T22:21:16.563232421+00:00"},"epss":{"cve":"CVE-2026-23847","score":0.00314,"percentile":0.24355,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-w836-5gpm-7r93","url":"https://osv.dev/vulnerability/GHSA-w836-5gpm-7r93","summary":"SiYuan has a Reflected Cross-Site Scripting (XSS) via /api/icon/getDynamicIcon","modified":"2026-02-03T22:41:00.312284Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260118021606-5c0cc375b475"],"fixed":["0.0.0-20260118021606-5c0cc375b475"]}]},{"id":"GO-2026-4343","url":"https://osv.dev/vulnerability/GO-2026-4343","summary":"SiYuan has a Reflected Cross-Site Scripting (XSS) via /api/icon/getDynamicIcon in github.com/siyuan-note/siyuan/kernel","modified":"2026-03-03T04:57:54.033188Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260118021606-5c0cc375b475"],"fixed":["0.0.0-20260118021606-5c0cc375b475"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}