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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-53578— Trilium: Note Import to RCE via Mind Elixir dangerouslySetInnerHtml

Quick assessment

Affected
TriliumNext Trilium
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.

Trilium 是一款开源的层级式笔记应用。在截至 0.103.0 的版本中,默认启用的“安全导入”过滤器仅对文本类笔记进行 HTML 净化,而排除了思维导图(mindMap)笔记类型——其 JSON 内容在未经验证的情况下直接存储。这导致攻击者提供的导入压缩包可以嵌入负载(payload),使其以任意 HTML 的形式渲染。思维导图节点可以携带一个 属性,Mind Elixir 库会将该属性直接赋值给节点的 ,因此恶意笔记在通过“安全导入”后,一旦受害者打开导入的思维导图,其中的脚本就会立即执行。在桌面客户端中,

CVSS 9.3 · Critical
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53578

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
Trilium: Note Import to RCE via Mind Elixir dangerouslySetInnerHtml
Source: CVE Program / CVE List V5
Vulnerability Description
Trilium is an open-source hierarchical note-taking application. In versions up to and including 0.103.0, the default-on "Safe import" filter sanitizes HTML only for text notes and excludes the mindMap note type, whose JSON content is stored without sanitization, allowing an attacker-supplied import archive to embed a payload that renders as arbitrary HTML. A mind map node can carry a dangerouslySetInnerHTML property that the Mind Elixir library assigns directly to a node's innerHTML, so a malicious note survives Safe import and executes script as soon as the victim opens the imported mind map. On the desktop client the Electron renderer runs with Node integration enabled, so the injected JavaScript escalates from cross-site scripting to full remote code execution on the victim's machine. This issue is fixed in version 0.104.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
TriliumNext Trilium < 0.104.0 -

II. Public POCs for CVE-2026-53578

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

登录查看更多情报信息。

Patches & Fixes for CVE-2026-53578 (1)

Vendor Advisories for CVE-2026-53578 (1)

Same Patch Batch · TriliumNext · 2026-08-27 · 6 CVEs total

CVE-2026-53579 9.3 CRITICAL Trilium: Note Import to RCE via Book Note
CVE-2026-48996 9.3 CRITICAL Trilium: Malicious import with GeoMap marker title XSS leads to RCE on the desktop client
CVE-2026-47727 8.6 HIGH Trilium: RCE via `shareTemplate` relation missing `isDangerous` flag — Safe import bypass
CVE-2026-53580 8.1 HIGH Trilium arbitrary file read and denial of service via file:// URLs in the automatic image-
CVE-2026-77438 7.5 HIGH Trilium unauthenticated share-search discloses password-protected and hidden shared notes

IV. Related Vulnerabilities

V. Comments for CVE-2026-53578

No comments yet


Leave a comment