CVE-2026-145038: SiYuan 3.8.8-alpha.4 before 3.8.11 Stored XSS via Encrypted Notebook Asset Cleanup
SiYuan 3.8.8-alpha.4 before 3.8.11 contains a stored cross-site scripting vulnerability because the unused asset cleanup dialog for encrypted notebooks does not treat imported asset names as plain text. Attackers can supply a notebook archive with crafted asset names that execute script in the SiYuan interface when a victim imports it and opens the cleanup dialog, putting desktop files at risk.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of SiYuan versions from 3.8.8-alpha.4 before 3.8.11 are exposed if they import an attacker-supplied encrypted notebook archive and open its unused asset cleanup dialog.
What must an attacker do to trigger the vulnerability?
An attacker must craft a notebook archive with malicious asset names and persuade a victim to import the archive. Script execution occurs when the victim opens the cleanup dialog for the imported encrypted notebook.
Is user interaction required?
Yes. The victim must import the crafted notebook archive and open the unused asset cleanup dialog; the provided data does not indicate that ordinary notebook viewing alone triggers the issue.
What should be done if updating is not immediately possible?
Avoid importing encrypted notebook archives from untrusted sources, and do not open the unused asset cleanup dialog for archives whose origin or contents cannot be trusted.