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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-87813— SiYuan before v3.8.2 Stored XSS via unescaped asset filenames

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 之前的版本存在一个存储型跨站脚本(Stored XSS)漏洞,位于“搜索资源”(Search Assets)的结果列表中:资源文件名在未进行 HTML 转义的情况下被直接拼接(interpolated)到 HTML 中。经过身份验证的攻击者可以构造包含恶意标记的资源文件名,当受害者执行资源搜索时,这些恶意标记会在受害者的浏览器中执行 JavaScript 代码,从而允许攻击者发起同源 API 请求并操纵应用程序状态。

CVSS 7.3 · High

Possible ATT&CK Techniques 1 AI

T1189 · Drive-by Compromise
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-87813

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 unescaped asset filenames
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan before v3.8.2 contains a stored cross-site scripting vulnerability in the Search Assets result list where asset filenames are interpolated into HTML without escaping. Authenticated attackers can craft asset filenames containing malicious markup that executes JavaScript in the victim's browser when searching assets, enabling same-origin API requests and application state 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-87813

# 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-87813

登录查看更多情报信息。

Vendor Advisories for CVE-2026-87813 (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-87814 7.3 HIGH SiYuan before v3.8.2 Stored XSS via Asset Preview
CVE-2026-87811 7.3 HIGH SiYuan before v3.8.2 Stored XSS via notebook template paths
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-87813

No comments yet


Leave a comment