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.
References
| Link | Resource |
|---|---|
| https://github.com/siyuan-note/siyuan/issues/17246 | Issue Tracking |
| https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 | Release Notes |
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-73g7-86qr-jrg3 | Exploit Vendor Advisory |
Configurations
History
03 Apr 2026, 16:01
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
| CPE | cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* | |
| Summary |
|
|
| References | () https://github.com/siyuan-note/siyuan/issues/17246 - Issue Tracking | |
| References | () https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 - Release Notes | |
| References | () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-73g7-86qr-jrg3 - Exploit, Vendor Advisory | |
| First Time |
B3log
B3log siyuan |
31 Mar 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-31 22:16
Updated : 2026-04-03 16:01
NVD link : CVE-2026-34605
Mitre link : CVE-2026-34605
CVE.ORG link : CVE-2026-34605
JSON object : View
Products Affected
b3log
- siyuan
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
