CVE-2026-73050: SiYuan stored cross-site scripting in select option colors

CVE-2026-73050 · Severity: critical · CVSS 9 · Published 2026-08-15

SiYuan is a note-taking and knowledge management application that allows users to create databases with customizable select fields. Attackers can inject malicious JavaScript code through the color field of select options, which executes whenever anyone views a database containing the compromised field. Because the vulnerability affects normal database viewing—not just menu interactions—the exploit payload runs automatically when users open the affected database, potentially allowing attackers to steal data, modify content, or take control of the application in desktop clients.

Technologies: SiYuan. Vendors: SiYuan.

Quick answers

Is CVE-2026-73050 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-73050 being exploited in the wild.
How severe is CVE-2026-73050?
Critical severity, with a CVSS score of 9, published 15 August 2026.
Which products and versions are affected?
SiYuan before v3.7.4.
Is there a fix for CVE-2026-73050?
A patch was published on 2026-08-01: patch released in v3.7.4 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-73050 attacked?
It is attacked over the network.
Am I affected by CVE-2026-73050?
Check whether you run SiYuan at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a stored cross-site scripting (XSS) flaw in the attribute-view select option color field. The kernel accepts arbitrary strings for the color field (documented as a palette index 1–14 but never validated on write), and eight frontend render sites interpolate this value directly into style attributes without HTML escaping. An attacker can inject a quotation mark followed by event-handler attributes (e.g., `1);color:red" onmouseover="alert(1)" x="`) to break out of the style attribute and inject JavaScript. The payload executes whenever the select option is rendered—including in table, gallery, kanban, relation views and filter menus. In the desktop client, renderer processes have Node integration enabled (webSecurity: false, nodeIntegration: true), allowing script execution to access Node.js primitives like child_process. The vulnerability is triggered by any path bringing a malicious database to the victim (import, sync, shared workspace, or package distribution). Patches are available in v3.7.4 and later.

Affected products

  • SiYuan SiYuan before v3.7.4

Timeline

  • 2026-08-15: disclosed
  • 2026-08-01: patched: patch released in v3.7.4

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.