---
id: CVE-2026-82653
title: >-
  SiYuan before v3.8.1 contains a stored cross-site scripting vulnerability in
  confirmDialog() where unescaped package names and notebook names are
  interpolated directly into innerHTML assignments
summary: >-
  SiYuan before v3.8.1 contains a stored cross-site scripting vulnerability in
  confirmDialog() where unescaped package names and notebook names are
  interpolated directly into innerHTML assignments. Attackers can submit
  malicious bazaar pac…
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-82653'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hvwp-43j9-4xgf
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-3.8.1-stored-xss-via-confirmdialog
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-08-30T23:59:28.780Z'
epss: 0.00366
epssPercentile: 0.27775
---

## Overview

SiYuan before v3.8.1 contains a stored cross-site scripting vulnerability in confirmDialog() where unescaped package names and notebook names are interpolated directly into innerHTML assignments. Attackers can submit malicious bazaar packages with HTML/script payloads in the name field that execute in users' browsers when uninstalling packages or unlocking encrypted notebooks.

## Remediation

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