CVE-2026-137471
SiYuan before 3.8.10 contains a cross-site scripting vulnerability where WebDAV sync error formatting skips HTML escaping for certain malformed-response errors…
Impact
SiYuan before 3.8.10 contains a cross-site scripting vulnerability where WebDAV sync error formatting skips HTML escaping for certain malformed-response errors, passing raw markup to the Electron notification renderer. A network attacker who alters a cleartext HTTP WebDAV response can inject event-handler markup that, when the victim manually starts sync, executes JavaScript with Node integration as the logged-in user.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (Siyuan-note)
| Product | Affected versions |
|---|---|
| Siyuan | before 3.8.10 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7258-5hpf-xq6w
- https://github.com/siyuan-note/siyuan/commit/d3af9d5782082b379d45a69eedf4ebcfe8ba6889
- https://www.vulncheck.com/advisories/siyuan-before-3.8.10-xss-via-webdav-sync-error-notification
- https://github.com/advisories/GHSA-rhmr-p79w-78j3
- https://nvd.nist.gov/vuln/detail/CVE-2026-137471