CVE-2026-87813
moderateStored Cross-Site Scripting in SiYuan Search Assets before 3.8.2
SiYuan before v3.8.2 contains a stored cross-site scripting (XSS) flaw in the Search Assets result list, where asset filenames are interpolated into HTML without escaping (CWE-79). An authenticated attacker plants an asset whose filename contains malicious markup; when a victim performs an asset search, that markup executes as JavaScript in the victim's browser. Successful exploitation allows the attacker to make same-origin API requests as the victim and manipulate application state, but does not impact confidentiality or integrity beyond the application scope per the CVSS scoring. All SiYuan deployments running versions prior to 3.8.2 are affected, particularly multi-user or shared instances where one user can upload assets viewed by others. There is currently no known public proof-of-concept, no CISA KEV listing, and no confirmed in-the-wild exploitation.
What to do: Upgrade SiYuan to version 3.8.2 or later to remediate the flaw. Until patched, limit asset uploads to trusted users and avoid performing asset searches as a highly privileged user on shared or internet-exposed instances. Administrators should review uploaded asset filenames for embedded markup and consider whether their instance is exposed beyond localhost.
| SiYuan | all versions before 3.8.2 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in the Search Assets result list where asset filenames are interpolated into HTML without escaping. Authenticated attackers can craft asset filenames containing malicious markup that executes JavaScript in the victim's browser when searching assets, enabling same-origin API requests and application state manipulation.
- Weakness
- CWE-79
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.