Description
SiYuan versions before v3.7.4 fail to validate or escape table column width values, allowing stored cross-site scripting injection into style attributes. Attackers can inject malicious payloads through the setAttrViewColWidth API that break out of style attributes and inject event handlers on every table cell, executing arbitrary code in the Electron renderer with Node integration enabled.
Published: 2026-08-15
Score: 9.4 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SiYuan versions prior to 3.7.4 do not validate or escape values used for table column widths, allowing an attacker to store a cross‑site scripting payload that breaks out of a style attribute. The injected payload is then executed as an event handler on every table cell, which runs arbitrary JavaScript inside the Electron renderer with Node integration enabled. This flaw is a classic stored XSS (CWE‑79) that can lead to arbitrary code execution on the victim’s machine.

Affected Systems

The vulnerability affects the Siyuan Note application from Siyuan-note. All releases before v3.7.4 are vulnerable; any installation using those versions may process malicious column‑width inputs.

Risk and Exploitability

The CVSS score of 9.4 indicates high severity, and while EPSS is not available the flaw is listed as not present in the KEV catalog, suggesting no known widespread exploitation yet. A likely exploitation path is an attacker controlling the content that a user opens: a malicious document can embed a specially crafted column width value through the setAttrViewColWidth API or by editing the file directly. When the file is opened in a user’s environment with Node integration enabled, the stored XSS executes and developers can run arbitrary code with the application’s privileges.

Generated by OpenCVE AI on August 15, 2026 at 23:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.7.4 or later, where column width values are properly validated and escaped.
  • If an upgrade is not feasible, modify the setAttrViewColWidth API or the underlying code that handles column widths to sanitize the value and prevent attribute breakouts.
  • Disable Node integration in the Electron renderer or apply a strict Content Security Policy to limit the execution of injected scripts.

Generated by OpenCVE AI on August 15, 2026 at 23:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 22:00:00 +0000

Type Values Removed Values Added
Description SiYuan versions before v3.7.4 fail to validate or escape table column width values, allowing stored cross-site scripting injection into style attributes. Attackers can inject malicious payloads through the setAttrViewColWidth API that break out of style attributes and inject event handlers on every table cell, executing arbitrary code in the Electron renderer with Node integration enabled.
Title SiYuan before v3.7.4 Stored Cross-Site Scripting via Column Width
First Time appeared B3log
B3log siyuan
Weaknesses CWE-79
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

{'score': 9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-15T21:44:49.179Z

Reserved: 2026-08-10T19:06:03.365Z

Link: CVE-2026-73044

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T22:16:54.330

Modified: 2026-08-15T22:16:54.330

Link: CVE-2026-73044

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T23:30:16Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')