SiYuan is a personal knowledge management system. Prior to 3.5.10, SiYuan's SVG sanitizer (SanitizeSVG) checks href attributes for the javascript: prefix using strings.HasPrefix(). However, inserting ASCII tab (	), newline ( ), or carriage return ( ) characters inside the javascript: string bypasses this prefix check. Browsers strip these characters per the WHATWG URL specification before parsing the URL scheme, so the JavaScript still executes. This allows an attacker to inject executable JavaScript into the unauthenticated /api/icon/getDynamicIcon endpoint, creating a reflected XSS. This is a second bypass of the fix for CVE-2026-29183 (fixed in v3.5.9). This vulnerability is fixed in 3.5.10.
References
| Link | Resource |
|---|---|
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pmc9-f5qr-2pcr | Exploit Vendor Advisory |
Configurations
History
11 Mar 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
B3log
B3log siyuan |
|
| References | () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pmc9-f5qr-2pcr - Exploit, Vendor Advisory | |
| CPE | cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
11 Mar 2026, 13:52
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
10 Mar 2026, 21:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-10 21:16
Updated : 2026-03-11 20:16
NVD link : CVE-2026-31809
Mitre link : CVE-2026-31809
CVE.ORG link : CVE-2026-31809
JSON object : View
Products Affected
b3log
- siyuan
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
