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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-48996— Trilium: Malicious import with GeoMap marker title XSS leads to RCE on the desktop client

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 及以下的版本中,默认启用的“安全导入”过滤器未对笔记标题进行清理(sanitize)。GeoMap 笔记视图会将标记笔记的标题直接插入到原始 HTML 中,并通过 innerHTML 渲染,这使得攻击者提供的导入归档文件能够注入脚本,该脚本会在地图显示时执行。 由于“安全导入”虽然能中和(neutralize)脚本,但从不转义(escape)标题,因此包含 HTML 事件处理器载荷(如 )的笔记标题会在导入过程中幸存下来,并立即在受害者打开渲染该标记

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

I. Basic Information for CVE-2026-48996

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: Malicious import with GeoMap marker title XSS leads to RCE on the desktop client
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 does not sanitize note titles, and the GeoMap note view interpolates a marker note's title into raw HTML that is rendered as innerHTML, allowing an attacker-supplied import archive to inject script that runs when the map is displayed. Because Safe import neutralizes scripts but never escapes titles, a note whose title contains an HTML event-handler payload survives the import and executes as soon as the victim opens the GeoMap that renders its marker. 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-48996

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

登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-48996 (1)

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

CVE-2026-53578 9.3 CRITICAL Trilium: Note Import to RCE via Mind Elixir dangerouslySetInnerHtml
CVE-2026-53579 9.3 CRITICAL Trilium: Note Import to RCE via Book Note
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-48996

No comments yet


Leave a comment