目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-54070— 思源笔记 Bazaar市场包README存储型XSS漏洞

CVSS 7.1 · High EPSS 0.18% · P8
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2026-54070 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
SiYuan: Stored XSS in Bazaar marketplace via package README event handlers
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, renderPackageREADME in kernel/bazaar/readme.go renders a Bazaar package README from Markdown to HTML with the lute engine and SetSanitize(true). The lute sanitizer is an event-handler blocklist: allowAttr rejects only attribute names present in a fixed eventAttrs map copied from the w3schools legacy handler list. That map omits modern event handlers. onpointerover, onpointerdown, onauxclick, onbeforetoggle, onfocusin, onanimationstart, and ontransitionend are not in the list, so the sanitizer passes them through verbatim on any tag. The frontend assigns the rendered HTML to mdElement.innerHTML in app/src/config/bazaar.ts with no client-side DOMPurify on this path, into a normal element in the main document (no iframe, no sandbox). The kernel sends no Content-Security-Policy, X-Frame-Options, or X-Content-Type-Options header on any response, so an inline handler runs when its event fires. The README is rendered when an Administrator opens a package in Settings → Marketplace, after the one-time marketplace trust consent. Install is not required. Result: a third-party Bazaar package author runs JavaScript in the Administrator's authenticated SiYuan origin when the Administrator views and interacts with the package listing, and gains full control of the workspace. This vulnerability is fixed in 3.7.0.
来源: 美国国家漏洞数据库 NVD
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
来源: 美国国家漏洞数据库 NVD

受影响产品

厂商产品影响版本CPE订阅
siyuan-notesiyuan < 3.7.0 -

二、漏洞 CVE-2026-54070 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-54070 的情报信息

登录查看更多情报信息。

CVE-2026-54070 厂商安全公告 (1)

同批安全公告 · siyuan-note · 2026-06-24 · 共 9 条

CVE-2026-541589.9 CRITICAL思源笔记 genAVValueHTML 函数存储型XSS转远程代码执行漏洞
CVE-2026-540679.9 CRITICAL思源笔记存储型XSS经CSS突破至远程代码执行
CVE-2026-505519.9 CRITICAL思源笔记存储型XSS致远程代码执行漏洞
CVE-2026-555709.0 CRITICAL思源笔记 Electron 远程代码执行漏洞
CVE-2026-540667.5 HIGH思源笔记 /assets/*path 路径穿越漏洞
CVE-2026-540685.9 MEDIUM思源笔记 /api/icon/getDynamicIcon 模板注入致SQLite数据泄露漏洞
CVE-2026-54759思源笔记 Lute 解析 `<iframe>` 标签导致任意代码执行漏洞
CVE-2026-54069思源笔记 未授权管理员 API 访问漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-54070

暂无评论


发表评论