---
id: CVE-2026-73052
title: >-
  SiYuan before v3.7.4 stores attribute-view field names without HTML escaping
  and interpolates them directly into option elements via innerHTML in the sort
  menu
summary: >-
  SiYuan before v3.7.4 stores attribute-view field names without HTML escaping
  and interpolates them directly into option elements via innerHTML in the sort
  menu. Attackers can inject markup by renaming a database field to execute
  arbitrar…
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-73052'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-g3jx-227v-x2x4
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-stored-xss-via-attribute-view-field-names
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-08-16T13:39:04.416Z'
epss: 0.003
epssPercentile: 0.22882
---

## Overview

SiYuan before v3.7.4 stores attribute-view field names without HTML escaping and interpolates them directly into option elements via innerHTML in the sort menu. Attackers can inject markup by renaming a database field to execute arbitrary JavaScript when users open the sort menu, with Node integration enabled in the desktop client enabling code execution.

## Remediation

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