---
id: CVE-2026-82654
title: >-
  SiYuan before v3.8.1 fails to properly escape block name, alias, and memo
  fields in hint, backlink, and breadcrumb rendering functions
summary: >-
  SiYuan before v3.8.1 fails to properly escape block name, alias, and memo
  fields in hint, backlink, and breadcrumb rendering functions. Attackers can
  set a block's name to contain HTML/script tags that execute when another user
  views doc…
severity: high
cvss: 8.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L'
cwe:
  - CWE-79
published: '2026-08-30'
updated: '2026-08-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82654'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hf87-qh3j-3p88
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-3.8.1-stored-xss-via-block-name
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-08-30T23:59:28.820Z'
epss: 0.00366
epssPercentile: 0.27774
---

## Overview

SiYuan before v3.8.1 fails to properly escape block name, alias, and memo fields in hint, backlink, and breadcrumb rendering functions. Attackers can set a block's name to contain HTML/script tags that execute when another user views documents referencing or displaying that block.

## Remediation

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