CVE-2026-73042 SiYuan before v3.7.4 Remote Code Execution via Menu Metadata

Critical 9.4 Published Updated

Attackers can execute arbitrary code by injecting malicious HTML into menu metadata, exploiting Electron's insecure configuration in SiYuan.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-73042?

CVE-2026-73042 is a critical cross-site scripting vulnerability in siyuan-note siyuan, published on 15 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

SiYuan before v3.7.4 fails to properly escape database menu metadata in HTML interpolation, allowing stored values to execute script when users open group, view, or field-edit menus. Attackers can inject markup through field descriptions or names that close containing elements and execute arbitrary code via event handlers, reaching Node built-ins due to Electron's insecure configuration.

Weakness: CWE-79

Which versions are affected by CVE-2026-73042?

How do I fix CVE-2026-73042?

No fix has been published for CVE-2026-73042 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-73042 being exploited?

There is no known exploitation of CVE-2026-73042 in the wild and no public exploit code.

Sources

Also known as GHSA-v3h3-59vx-wx73.

Is CVE-2026-73042 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free