Reflected XSS Vulnerability in SiYuan Personal Knowledge Management System
CVE-2026-31809
What is CVE-2026-31809?
The SiYuan personal knowledge management system has a vulnerability in its SVG sanitizer prior to version 3.5.10. This flaw permits attackers to circumvent href attribute checks against the 'javascript:' prefix by inserting ASCII control characters, such as tabs and newlines. Although browsers strip these characters according to the WHATWG URL specification, the JavaScript payload is successfully executed. This results in a reflected XSS vulnerability, allowing attackers to inject executable JavaScript code into the unauthenticated /api/icon/getDynamicIcon endpoint. Additionally, this vulnerability is a second bypass of the fix for a previously addressed issue (CVE-2026-29183), with associated risk mitigated in the latest version.
Affected Version(s)
siyuan < 3.5.10
