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.
https://www.vulncheck.com/advisories/siyuan-before-3.8.1-stored-xss-via-confirmdialog
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hvwp-43j9-4xgf
Published: 2026-08-30
Updated: 2026-08-31
Base Score: 8.7
Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:P
Severity: High
Base Score: 8.9
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
Severity: High
Base Score: 9.3
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
Severity: Critical
EPSS: 0.00223