---
id: CVE-2026-100643
title: >-
  SiYuan versions before v3.8.4 fail to properly escape four stored Attribute
  View values in textarea elements, allowing authenticated attackers to inject
  JavaScript by modifying field descriptions, template sources, select option
  descript…
summary: >-
  SiYuan versions before v3.8.4 fail to properly escape four stored Attribute
  View values in textarea elements, allowing authenticated attackers to inject
  JavaScript by modifying field descriptions, template sources, select option
  descript…
severity: high
cvss: 8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-79
vendor: siyuan-note
product: siyuan
affected:
  - siyuan >= 2.10.8 < 3.8.4
published: '2026-09-26'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T14:16:46.540'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100643'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h3p6-c22r-fx2j
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-3.8.4-stored-xss-via-attribute-view-textarea
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-26T13:33:20.922Z'
---

## Overview

SiYuan versions before v3.8.4 fail to properly escape four stored Attribute View values in textarea elements, allowing authenticated attackers to inject JavaScript by modifying field descriptions, template sources, select option descriptions, or footer calculation templates. Attackers can execute stored JavaScript when other users open affected database menus, and in the Electron desktop app with nodeIntegration enabled, this leads to command execution with SiYuan process privileges.

## Remediation

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