CVE-2026-82653
moderateStored XSS in SiYuan via unescaped bazaar package and notebook names
SiYuan before v3.8.1 contains a stored cross-site scripting flaw (CWE-79) in its confirmDialog() function, which interpolates bazaar package names and encrypted notebook names directly into innerHTML without escaping. An attacker who publishes a marketplace (bazaar) package with HTML or script content in its name field can have that payload execute in the browser of any user who triggers a confirmation dialog, such as when uninstalling the package or unlocking an encrypted notebook. Successful exploitation grants the attacker arbitrary script execution in the victim's authenticated SiYuan session, enabling actions on the victim's behalf such as data theft or account manipulation. Any SiYuan deployment running a version prior to 3.8.1 is affected, particularly instances whose users install packages from the community bazaar. Exploitation has not been observed: there is no known public proof of concept, EPSS is currently 0.2% (13th percentile), and the flaw is not in CISA KEV.
What to do: Upgrade SiYuan to v3.8.1 or later, which escapes package and notebook names before rendering in confirmation dialogs. Until upgraded, limit bazaar package installs to trusted publishers and avoid uninstalling newly installed community packages or unlocking notebooks of unknown origin in untrusted workspaces. Monitor the bazaar for packages with suspicious HTML/script content in display names, and re-check EPSS/KEV status for signs of emerging exploitation.
| SiYuan (siyuan-note / B3log) SiYuan | all versions before 3.8.1 |
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.1 contains a stored cross-site scripting vulnerability in confirmDialog() where unescaped package names and notebook names are interpolated directly into innerHTML assignments. Attackers can submit malicious bazaar packages with HTML/script payloads in the name field that execute in users' browsers when uninstalling packages or unlocking encrypted notebooks.
- Weakness
- CWE-79
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L/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.