Home › CVE › JavaScript
CVE-2026-137471 — siyuan-note siyuan
One of 8 siyuan-note siyuan vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesResearch article
SiYuan Note Desktop App Before 3.8.10: XSS via Unescaped WebDAV Sync Error Notifications (CVE-2026-137471)
| CVE | CVE-2026-137471 |
|---|---|
| Vendor and product | siyuan-note siyuan |
| Published | November 26, 2026 20:55 UTC |
| Research cut-off | November 26, 2026 20:50 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-26); CISA KEV catalog |
Executive summary
SiYuan, an Electron-based note-taking application, contains a cross-site scripting (XSS) flaw in how it formats WebDAV synchronization error messages before versions 3.8.10 [1]. When a WebDAV response is malformed, the error text is passed to the Electron notification renderer without HTML escaping, allowing injected markup to execute as script [1]. NVD records two CVSS scores for this issue: CVSS 4.0 base score 9.0 (Critical), vector CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X, and CVSS 3.1 base score 8.3 (High), vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H, both scored by disclosure@vulncheck.com [1]. Exploitation requires a network-positioned attacker able to tamper with a cleartext HTTP WebDAV response and a victim who manually initiates a sync operation, at which point the crafted markup can execute within the Electron process, which runs with Node.js integration available to the logged-in user [1]. The CWE classification is CWE-79, Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) [1]. The affected product is siyuan-note siyuan, with all versions before 3.8.10 affected and 3.8.10 identified as the fixed release [1]. CVE-2026-137471 is not present in the CISA Known Exploited Vulnerabilities catalog as of 2026-11-26, though this absence does not confirm that no exploitation has occurred [2]. There is no evidence in the reviewed sources of confirmed in-the-wild exploitation or public proof-of-concept code [1, 2]. Organizations running SiYuan should upgrade to version 3.8.10 or later and ensure WebDAV synchronization is configured to use encrypted transport rather than cleartext HTTP [1].
Key points
- SiYuan versions before 3.8.10 contain a cross-site scripting flaw (CWE-79) in WebDAV sync error-notification formatting, where malformed response markup bypasses HTML escaping before reaching the Electron notification renderer [1].
- NVD records CVSS 4.0 score 9.0 Critical (vector CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X) and CVSS 3.1 score 8.3 High (vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H), both scored by disclosure@vulncheck.com [1].
- Exploitation requires a network attacker able to alter a cleartext HTTP WebDAV response and a victim who manually starts a sync operation, after which script executes in a Node-integrated Electron renderer context [1].
- The fixed version is 3.8.10, with the fix traceable to commit d3af9d5782082b379d45a69eedf4ebcfe8ba6889 and GitHub Security Advisory GHSA-7258-5hpf-xq6w [1].
- CVE-2026-137471 is not currently listed in the CISA Known Exploited Vulnerabilities catalog, though this does not confirm absence of exploitation [2].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-137471 [1] |
| Vendor | siyuan-note [1] |
| Product | siyuan [1] |
| Component | WebDAV synchronization error handling / Electron notification renderer [1] |
| Affected platform | SiYuan desktop application (Electron-based) [1] |
| Published | 2026-11-26T16:17:55 [1] |
| Last modified | 2026-11-26T16:17:56 [1] |
| Record status | Deferred [1] |
| CWE | CWE-79, Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') — occurs when output containing attacker-influenced data is rendered without neutralizing control characters that a rendering engine treats as markup [1] |
| CVSS 4.0 | 9.0 Critical — CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X — scored by disclosure@vulncheck.com (Secondary) [1] |
| CVSS 3.1 | 8.3 High — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H — scored by disclosure@vulncheck.com (Primary) [1] |
| Related identifiers | GitHub Security Advisory GHSA-7258-5hpf-xq6w; fix commit d3af9d5782082b379d45a69eedf4ebcfe8ba6889; VulnCheck advisory listed as reference [1] |
Technical background
SiYuan is a note-taking application built on the Electron framework, which embeds a Chromium rendering engine together with a Node.js runtime inside a single desktop process [1]. This combination lets the application render HTML-based user interface elements, including desktop notifications, while also granting that rendered content access to Node.js application programming interfaces when "Node integration" is enabled for a given renderer context [1]. SiYuan supports synchronizing notes to a WebDAV server, a protocol that extends HTTP with methods for remote file management. When a sync attempt fails, the client formats a description of the server's response into a notification shown through the Electron notification renderer [1]. Because the notification renderer displays HTML-capable content, any unescaped markup placed into that notification text is interpreted as part of the page rather than as inert text, which is the trust boundary that the application must enforce by escaping special characters before display [1].
Vulnerability description
The flaw violates the security property that application-rendered output must neutralize characters with special meaning to the rendering engine before including externally influenced data [1]. The flawed component is the WebDAV sync error-formatting logic, which, for certain malformed server responses, forwards raw response markup directly into the Electron notification renderer instead of HTML-escaping it first [1]. Because this renderer operates with Node integration available, markup containing event-handler attributes can trigger script execution rather than being displayed as plain text [1]. For the flaw to matter, an attacker must be able to alter a WebDAV response in transit — specifically a cleartext HTTP response, since the description ties the attack to unencrypted traffic — and the affected user must manually initiate a synchronization operation that encounters the malformed response [1]. The reviewed sources do not establish whether exploitation has occurred in the wild [1, 2].
Root cause analysis
Confirmed: the proximate cause is that the error-formatting code path for malformed WebDAV responses omits HTML escaping before passing response-derived text to the notification renderer, allowing embedded event-handler markup to be interpreted as executable content [1]. The sources do not disclose why this particular code path was exempted from the escaping routines applied elsewhere in the application, nor do they describe the specific parsing function involved beyond the general description of "WebDAV sync error formatting" [1].
Technical mechanics
- The SiYuan client issues a WebDAV request against a configured server to synchronize notes [1].
- A network-positioned attacker intercepts or otherwise alters the cleartext HTTP response before it reaches the client, since the transport is unencrypted [1].
- The modified response is malformed in a way that triggers the client's error-handling path for WebDAV sync failures [1].
- The error-formatting routine builds a notification message from the response content without applying HTML escaping to the embedded markup [1].
- The unescaped text, including attacker-supplied event-handler attributes, is passed to the Electron notification renderer [1].
- The victim must manually start a sync operation for the malformed response and the resulting notification to be processed [1].
- Because the renderer context has Node integration enabled, the injected markup can execute as script with access to Node.js capabilities under the account of the signed-in user, rather than being confined to a sandboxed web context [1].
The control that should have prevented step 5 is output encoding of all externally derived text before it is inserted into any HTML-capable rendering surface, consistent with standard defenses against CWE-79 [1].
Attack surface and exploitation prerequisites
| Factor | Detail | Source basis |
|---|---|---|
| Attack vector | Network (attacker must alter WebDAV HTTP traffic in transit) | CVSS 4.0/3.1 vectors both specify AV:N [1] |
| Attack complexity | High | Both CVSS vectors specify AC:H [1] |
| Privileges required | None | Both CVSS vectors specify PR:N [1] |
| User interaction | Required — CVSS 4.0 specifies UI:P (passive/limited interaction) and CVSS 3.1 specifies UI:R (required); description states the victim must manually start sync | [1] |
| Attack requirements (CVSS 4.0 only) | AT:P, present | [1] |
| Scope | CVSS 3.1 marks Scope Changed (S:C) | [1] |
| Transport condition | Attack described as requiring a cleartext HTTP WebDAV response that the attacker can alter | Description text [1] |
| Enabled feature required | WebDAV synchronization must be configured and manually triggered by the user | [1] |
The network-position and "high complexity" characterizations above are drawn from the CVSS vector fields rather than from an independent description of attacker positioning, so the practical difficulty of intercepting or altering WebDAV traffic in a given deployment is not separately detailed in the sources [1].
Exploitation scenarios and attack lifecycle (Illustrative)
An attacker positioned on the network path between a SiYuan client and its configured WebDAV server — for example on an untrusted network segment where the WebDAV endpoint is reached over cleartext HTTP — intercepts a sync request and substitutes a malformed response containing injected event-handler markup [1]. The user, working normally, manually triggers a synchronization attempt; SiYuan encounters the malformed response, formats an error notification from it without escaping, and the Electron notification renderer executes the embedded script [1]. Because the renderer has Node integration, the resulting code execution context is not confined to a sandboxed browser page, giving the attacker a foothold with the privileges of the signed-in desktop user [1]. Defensive opportunities include ensuring WebDAV traffic is only permitted over encrypted channels, restricting network paths that could allow response tampering, and limiting what manual sync workflows interact with in untrusted network environments [1].
Impact analysis
| Dimension | Demonstrated / plausible impact | Basis |
|---|---|---|
| Confidentiality | High impact potential per both CVSS vectors (C:H / VC:H) | [1] |
| Integrity | High impact potential per both CVSS vectors (I:H / VI:H) | [1] |
| Availability | High impact potential under CVSS 4.0 (VA:H); CVSS 3.1 also records A:H | [1] |
| Authentication/authorization | Not separately scoped beyond PR:N (no privileges needed for the attacker) | [1] |
| Privilege boundary | Execution occurs in a Node-integrated renderer context, extending beyond typical sandboxed web script execution, as described for the attack outcome | [1] |
| Data and privacy | Plausible downstream consequence given confidentiality impact, but no specific data-exposure incident is documented | [1] |
| Business operations | Not addressed by the reviewed sources | — |
| Regulatory/contractual | Not addressed by the reviewed sources | — |
Affected products and versions
| Vendor | Product | Affected versions | Platform | Fixed version | Source/confidence |
|---|---|---|---|---|---|
| siyuan-note | siyuan | Versions before 3.8.10 | Electron desktop application | 3.8.10 | NVD CVE record, vendor-published version data [1] |
The CVE record does not give a lower bound for the affected range beyond "before 3.8.10"; no earlier version is excluded in the published data [1].
Exploitation and threat intelligence status
CVE-2026-137471 is not listed in the CISA Known Exploited Vulnerabilities catalog as of 2026-11-26 [2]. This is not evidence that exploitation has not occurred, since catalog absence only reflects what CISA has confirmed and added at the time of review [2]. The reviewed sources contain no report of observed exploitation in the wild, no named threat actor or campaign, and no public proof-of-concept reference beyond the vendor fix commit and advisory identifiers listed in the CVE record [1, 2]. The CVSS 4.0 vector's Exploit Maturity field is marked X (not defined), meaning no exploit maturity was recorded by the scorer [1].
Detection and exposure assessment
- Check the installed SiYuan application version through the application's own version display or installer metadata; any version before 3.8.10 is affected per the CVE record [1]. A version check confirms the presence of unpatched code but does not by itself confirm whether exploitation has occurred.
- Inventory endpoints where SiYuan is deployed and identify whether WebDAV synchronization is configured, since the flaw is only reachable through that feature [1].
- Review the WebDAV endpoint configuration used by each SiYuan client to determine whether synchronization traffic is carried over cleartext HTTP, which is the condition the CVE description associates with the attack [1].
- Examine network paths between SiYuan clients and configured WebDAV servers for segments where an on-path party could intercept or modify HTTP traffic, as this capability is a prerequisite described in the CVSS network attack vector [1].
No vendor-published detection signature, log event, or indicator of compromise is given in the reviewed sources [1, 2].
Remediation
Immediate mitigation (pending or alongside upgrade):
- Configure SiYuan's WebDAV synchronization to use an encrypted transport (HTTPS) rather than cleartext HTTP, since the described attack depends on an attacker's ability to alter a cleartext HTTP response; this follows from the condition stated in the CVE description rather than from an explicit vendor workaround instruction [1]. Verify by confirming the WebDAV server URL configured in SiYuan uses an https:// scheme.
- Where cleartext HTTP WebDAV cannot be avoided, restrict network paths between SiYuan clients and the WebDAV server to trusted segments to reduce the chance of response tampering; this is an environment-specific compensating control inferred from the attack vector, not a vendor-stated step [1].
- Advise users to avoid manually initiating WebDAV sync operations on untrusted networks until the client is upgraded, since manual sync initiation is a stated precondition for the attack [1].
Permanent fix:
- Upgrade SiYuan to version 3.8.10 or later, the version identified in the CVE record as containing the fix [1]. The corresponding code change is referenced by commit d3af9d5782082b379d45a69eedf4ebcfe8ba6889 in the siyuan-note/siyuan repository, and further detail is available in GitHub Security Advisory GHSA-7258-5hpf-xq6w [1].
- The sources do not document additional post-upgrade configuration changes, restart requirements, or rollback guidance beyond the version upgrade itself; organizations should treat the standard application update and restart as sufficient unless the vendor advisory (not available in full in this pack) states otherwise.
Workarounds and compensating controls
No vendor-supported workaround is documented in the reviewed sources beyond the version upgrade [1]. Enforcing encrypted (HTTPS) transport for WebDAV synchronization and restricting network exposure of the WebDAV path reduce the likelihood that a response can be altered in transit, but these measures do not remove the underlying unescaped-output defect in versions before 3.8.10 and so do not substitute for upgrading [1].
Remediation checklist
- Identify every SiYuan desktop installation in the environment and record its version number using the application's own version display [1].
- Upgrade any SiYuan installation below version 3.8.10 to 3.8.10 or later, referencing fix commit d3af9d5782082b379d45a69eedf4ebcfe8ba6889 and advisory GHSA-7258-5hpf-xq6w [1].
- Before upgrading, configure WebDAV synchronization endpoints to use HTTPS instead of cleartext HTTP, and verify the configured server URL uses an https:// scheme [1].
- Restrict network access to WebDAV servers used by SiYuan clients to trusted network segments to reduce exposure to on-path response tampering [1].
- Instruct users not to manually trigger WebDAV synchronization while connected to untrusted networks until their client is upgraded to 3.8.10 or later [1].
- After upgrading, confirm the installed version reads 3.8.10 or higher via the application's version display [1].
- If exploitation is suspected, review the affected system for unexpected process activity originating from the SiYuan Electron process, since the sources provide no specific indicators to search for [1].
Evidence gaps
- Not established by the reviewed sources: whether CVE-2026-137471 has been exploited in the wild; only the absence from the CISA KEV catalog as of 2026-11-26 is documented, which does not itself confirm non-exploitation [1, 2].
- Not established by the reviewed sources: the detailed internal cause for why the WebDAV error-formatting code path specifically omitted HTML escaping, beyond the general description that escaping was skipped for certain malformed responses [1].
- Not established by the reviewed sources: any public proof-of-concept code or exploit tooling targeting this vulnerability.
- Not established by the reviewed sources: any indicators of compromise (file names, hashes, network indicators, log signatures) associated with this vulnerability.
- Not established by the reviewed sources: the lower bound of the affected version range beyond the stated upper bound of 'before 3.8.10'.
- Not established by the reviewed sources: whether a restart of the SiYuan application or any additional configuration change is required after upgrading to 3.8.10.
References
- CVE-2026-137471 record. NIST National Vulnerability Database (NVD), 2026-11-26. https://nvd.nist.gov/vuln/detail/CVE-2026-137471. Accessed 2026-11-26.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-26. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-26.
Summary
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.
Severity breakdown
Critical · 9.0
An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- high on confidentiality, integrity and availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| siyuan-note siyuan | < 3.8.10 | 3.8.10 |
References by type
Vendor advisories
Patches and fixed releases
Other references
Affected
- siyuan-note siyuan
Frequently asked questions
What is CVE-2026-137471?
SiYuan, an Electron-based note-taking application, contains a cross-site scripting (XSS) flaw in how it formats WebDAV synchronization error messages before versions 3.8.10. When a WebDAV response is malformed, the error text is passed to the Electron notification renderer without HTML escaping, allowing injected markup to execute as script. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-137471?
CVE-2026-137471 has a CVSS 4.0 base score of 9.0 (critical), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
Is CVE-2026-137471 being exploited?
Not as far as is known: CVE-2026-137471 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026.
Which versions are affected by CVE-2026-137471?
siyuan-note siyuan < 3.8.10 (fixed in 3.8.10).
How do I fix CVE-2026-137471?
Identify every SiYuan desktop installation in the environment and record its version number using the application's own version display. Upgrade any SiYuan installation below version 3.8.10 to 3.8.10 or later, referencing fix commit d3af9d5782082b379d45a69eedf4ebcfe8ba6889 and advisory GHSA-7258-5hpf-xq6w. Before upgrading, configure WebDAV synchronization endpoints to use HTTPS instead of cleartext HTTP, and verify the configured server URL uses an https:// scheme.