External risk intelligence

SiYuan WebDAV Sync XSS Vulnerability.

CVE advisorySeverity: CRITICAL (CVSS 9.0)

CVE-2026-137471

SiYuan is a desktop-based personal knowledge management application. The vulnerability requires a user to perform a manual synchronization action and is triggered by a malformed response within that specific client-side process. It is not an internet-facing service or appliance, and typical use is isolated to the local user's environment, making public network exposure extremely unlikely.

Cross-site Scripting

Halo Surface Signal: 1 out of 5 — much less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory details a vulnerability in SiYuan related to how WebDAV sync errors are processed, which could allow an attacker to inject malicious code executed within the user's session. The issue arises from improperly escaped markup in error responses, enabling the execution of JavaScript with significant user privileges when sync is manually initiated.

  • Code flaw allows injected scripts.
  • High user privileges can be gained.
  • Confirm relevance and exposure.

Attack Path

How an attacker could exploit the issue

An attacker can target users by manipulating WebDAV responses over an unencrypted network connection. If a user attempts to synchronize their data, a malformed response can cause the application to display unescaped markup, leading to the execution of malicious JavaScript. This occurs when the application processes error messages from a compromised WebDAV server during a manual sync.

  • Requires user-triggered sync action.
  • Malformed WebDAV response triggers XSS.
  • JavaScript runs with user privileges.

Live Threat

Current exploitation, exposure, and threat context

When supported by the advisory, a network attacker could inject malicious markup into a WebDAV sync error response. This markup may execute JavaScript with the privileges of the logged-in user when the victim manually initiates a sync, potentially impacting the integrity of the application's behavior and any data processed during that action.

  • Application integrity and user session.
  • Malformed WebDAV response during sync.
  • Arbitrary JavaScript execution on user action.

Operational Fix

Recommended remediation, mitigation, and detection steps

The SiYuan application, specifically its WebDAV sync functionality, is vulnerable to cross-site scripting. This could affect users who manually initiate sync and encounter a malformed HTTP response. Owners of SiYuan installations should first identify where the application is deployed, determine its reachability and criticality, and then plan remediation with the vendor.

  • SiYuan application owners.
  • Verify WebDAV sync configurations and exposure.
  • Coordinate with the vendor for updates.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is SiYuan?

SiYuan is a local, desktop-based personal knowledge management application designed for note-taking and information organization. It utilizes the Electron framework to provide its user interface and includes features like WebDAV synchronization, which allows users to sync their notes with remote storage servers.

What is the vulnerability in CVE-2026-137471?

This issue is a Cross-Site Scripting (XSS) vulnerability, classified as CWE-79. It occurs because the application fails to properly escape HTML markup within error messages returned during WebDAV synchronization. Consequently, the application interprets this malicious markup as active code rather than plain text, leading to unintended script execution.

How is this vulnerability triggered?

An attacker must intercept or influence the WebDAV server's response during a sync attempt to inject malformed error content. Simply having a vulnerable version of SiYuan does not trigger the bug; it specifically requires the user to manually initiate a synchronization process that encounters the attacker-controlled error response.

Do I need to worry about this if I use SiYuan?

According to Halo Surface Signal, the risk is very unlikely for most users because SiYuan is a desktop application, not an internet-facing service. The vulnerability relies on a complex chain of user-driven events and cleartext network interception, making it difficult to exploit in typical local computing environments.

What should I do to protect my SiYuan installation?

Your first step is to check your current application version and update to version 3.8.10 or later, which addresses the flaw. Additionally, ensure you are using encrypted (HTTPS) connections for your WebDAV synchronization to prevent attackers from tampering with the data traffic between your client and the server.

References