Description
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.
Severity (CVSS)
| Base score | 9.3 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | 0 to <3.8.1; 3.8.1 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hvwp-43j9-4xgf (vendor-advisory)
- https://www.vulncheck.com/advisories/siyuan-before-3.8.1-stored-xss-via-confirmdialog (third-party-advisory)
Generated from the official CVE List on 31 Aug 2026 07:02 UTC.