{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-32940","published":"2026-03-20T04:16:49.367000Z","last_modified":"2026-06-17T10:36:36.113000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79","CWE-184"],"cpes":[{"criteria":"cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*","part":"a","vendor":"b3log","product":"siyuan","version_end_excluding":"3.6.1"}],"cpes_truncated":false,"vendors":["b3log"],"products":["b3log/siyuan"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4mx9-3c2h-hwhg","ecosystem":"Go","name":"github.com/siyuan-note/siyuan","purl":"pkg:golang/github.com/siyuan-note/siyuan","ranges":[{"introduced":"0","last_affected":"0.0.0-20260313024916-fd6526133bb3"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-4721","ecosystem":"Go","name":"github.com/siyuan-note/siyuan","purl":"pkg:golang/github.com/siyuan-note/siyuan","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2026-32940/","html_en":"/en/cve/CVE-2026-32940/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-32940","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-32940"},"untrusted":{"vendor_name":"B3log","product_name":"Siyuan","desc_en":"SiYuan is a personal knowledge management system. In versions 3.6.0 and below, SanitizeSVG has an incomplete blocklist — it blocks data:text/html and data:image/svg+xml in href attributes but misses data:text/xml and data:application/xml, both of which can render SVG with JavaScript execution. The unauthenticated /api/icon/getDynamicIcon endpoint serves user-controlled input (via the content parameter) directly into SVG markup using fmt.Sprintf with no escaping, served as Content-Type: image/svg+xml. This creates a click-through XSS: a victim navigates to a crafted URL, sees an SVG with an injected link, and clicking it triggers JavaScript via the bypassed MIME types. The attack requires direct navigation to the endpoint or <object>/<embed> embedding, since <img> tag rendering in the frontend doesn't allow interactive links. This issue has been fixed in version 3.6.1.","affected":[{"untrusted_vendor":"siyuan-note","untrusted_product":"siyuan","versions":[]}],"references":[{"url":"https://github.com/advisories/GHSA-6865-qjcf-286f","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/siyuan-note/siyuan/commit/d01d561875d4f744e9f6232f1d4831e3642b8696","tags":["Patch"]},{"url":"https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1","tags":["Release Notes"]},{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4mx9-3c2h-hwhg","tags":["Exploit","Mitigation","Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}},{"source":"suse","id":"SUSE-SU-2026:1135-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20261135-1/","published":"2026-03-27T17:33:48+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}]}