---
id: CVE-2026-73042
title: >-
  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
summary: >-
  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…
severity: critical
cvss: 9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-79
published: '2026-08-15'
updated: '2026-08-15'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73042'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gcm3-qcq3-72rv
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-remote-code-execution-via-menu-metadata
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-08-16T13:39:03.960Z'
epss: 0.00519
epssPercentile: 0.41583
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
