ZeroHour

CVE-2026-82654

large

Stored XSS in SiYuan knowledge-management app before v3.8.1

CVSS 4.0
9.3 critical
EPSS
<1%p13
Published
()
Modified
AI analysis

SiYuan before version 3.8.1 does not properly escape a block's name, alias, and memo fields when rendering hint tooltips, backlinks, and breadcrumbs, allowing stored (persistent) cross-site scripting (CWE-79). An attacker with access to a shared or synced workspace sets these fields on a block to contain HTML or script tags, which execute in the browser of any other user who views a document that references or displays that block. Successful exploitation yields arbitrary JavaScript execution in the victim's session, with the CVSS 4.0 score (9.3, critical) reflecting high impact on confidentiality and integrity across the vulnerable and subsequent systems. All SiYuan deployments prior to 3.8.1 are affected, with multi-user or team-synced workspaces representing the realistic exposure since a second user must view the malicious block. No public proof-of-concept, in-the-wild exploitation, or KEV listing is currently known, and EPSS estimates only a 0.2% probability of exploitation in the next 30 days.

What to do: Upgrade SiYuan to version 3.8.1 or later. Until patched, restrict block creation and editing in shared or synced workspaces to trusted users, and treat block name, alias, and memo fields as untrusted input. Administrators of multi-user SiYuan deployments should prioritize patching since the flaw requires another user to view attacker-controlled content.

Affected
SiYuan (B3log) SiYuanall versions before 3.8.1
Estimated exposure
largeon the order of 100,000+ installations estimated, with multi-user/synced workspaces the most exposed subset — SiYuan is a widely used open-source knowledge-management/note-taking application (tens of thousands of GitHub stars and a large self-hosted user base), so affected installs plausibly reach six figures, though many are single-user desktop…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

Weakness
CWE-79
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.