CVE-2026-23645: siyuan · Cross-site Scripting
Affects siyuanSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.5.4-dev2 when convenient.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.5.4-dev2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade siyuan to 3.5.4-dev2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| siyuan-notesiyuan | Affected
| Fixed in
|
GitHubsiyuan-note/siyuanpkg:github/siyuan-note/siyuanOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade SiYuan Note to version 3.5.4-dev2 or later immediately to apply the official fix that sanitizes SVG uploads.
- Implement strict file upload policies restricting SVG uploads to trusted users or disabling SVG uploads entirely if not required.
- Employ server-side SVG sanitization tools that remove or neutralize embedded scripts before storage or rendering.
- Educate users on the risks of opening untrusted SVG files and encourage caution with files from unknown sources.
- Monitor application logs for unusual upload or viewing activity related to SVG files.
- Use Content Security Policy (CSP) headers to restrict script execution contexts and reduce the impact of potential XSS attacks.
- Consider isolating the SiYuan Note environment or running it in a sandboxed container to limit the scope of compromise.
- Regularly audit and update all self-hosted applications to ensure timely patching of vulnerabilities.
Description
CVE-2026-23645 is a stored Cross-Site Scripting (XSS) vulnerability in SiYuan Note versions prior to 3.5.4-dev2. The flaw arises because the application fails to sanitize uploaded SVG files, allowing malicious JavaScript embedded in SVGs to execute in the context of an authenticated user's session. Exploitation requires a user to upload and then view a crafted SVG file, leading to arbitrary script execution without requiring authentication or elevated privileges. The vulnerability has a CVSS 4.0 base score of 5.3, indicating medium severity. There are no known exploits in the wild as of now. European organizations using SiYuan Note for personal knowledge management should upgrade to version 3.