Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-87814— SiYuan before v3.8.2 Stored XSS via Asset Preview

Quick assessment

Affected
siyuan-note siyuan
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SiYuan 在 v3.8.2 之前版本中存在一个存储型跨站脚本(XSS)漏洞,位于搜索资产预览功能中。该功能在将索引化的资产内容插入 DOM 时,未对内容进行适当的转义处理,而是直接使用 进行插入。攻击者若能在工作区中放置特制的文本资产,则当受害者预览这些资产时,可以在 SiYuan 的源(origin)中执行 JavaScript 代码,从而发起已认证的 API 请求并操控工作区。

CVSS 7.3 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-87814

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SiYuan before v3.8.2 Stored XSS via Asset Preview
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in the search asset preview feature that fails to escape indexed asset content before inserting it into the DOM using innerHTML. Attackers who can place crafted text assets in a workspace can execute JavaScript in the SiYuan origin when victims preview the assets, enabling authenticated API requests and workspace manipulation.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
siyuan-note siyuan 0 ~ 3.8.2 -

II. Public POCs for CVE-2026-87814

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-87814

登录查看更多情报信息。

Vendor Advisories for CVE-2026-87814 (2)

Same Patch Batch · siyuan-note · 2026-09-09 · 9 CVEs total

CVE-2026-87815 8.7 HIGH SiYuan before v3.8.2 Path Traversal via removeRiffDeck
CVE-2026-87807 7.5 HIGH siyuan before v3.8.2 SQL Injection via fullTextSearchBlock
CVE-2026-87811 7.3 HIGH SiYuan before v3.8.2 Stored XSS via notebook template paths
CVE-2026-87813 7.3 HIGH SiYuan before v3.8.2 Stored XSS via unescaped asset filenames
CVE-2026-87812 6.8 MEDIUM SiYuan before v3.8.2 Stored XSS via Bazaar iconURL
CVE-2026-87809 6.5 MEDIUM Siyuan before v3.8.2 Information Disclosure via Export Preview
CVE-2026-87810 5.3 MEDIUM Siyuan before v3.8.2 Information Disclosure via fullTextSearchBlock
CVE-2026-87808 4.9 MEDIUM SiYuan before v3.8.2 Read-Only Boundary Bypass via fullTextSearchBlock

IV. Related Vulnerabilities

V. Comments for CVE-2026-87814

No comments yet


Leave a comment