← News

SiYuan: attacker can execute code via sync

HighAI-generated2026-11-28

CVE
CVE-2026-137471
Severity
High (CVSS 8.3)
Attack conditions
Remotely, over the network · No account needed · A user must take some action
Exploitation probability (EPSS)
0.5% (within 30 days; FIRST EPSS, 30 November 2026)

Summary

SiYuan versions prior to 3.8.10 are vulnerable to a cross-site scripting flaw that can be triggered during WebDAV synchronization. An attacker can inject malicious code that runs with the logged-in user's privileges.

Details

According to the NVD record, SiYuan before version 3.8.10 has a cross-site scripting issue. The problem occurs because error messages from WebDAV synchronization are not properly escaped, allowing raw HTML to reach the Electron notification component.

A network attacker who modifies an unencrypted HTTP WebDAV response can insert event-handler markup. When a victim manually starts a sync, the injected markup runs JavaScript with Node integration, giving the attacker the same rights as the logged-in user.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 26 November 2026 NVD record published
  • 28 November 2026 This article was written