Skip to main content
EPSS 0.3%top 79%

CVE-2026-48996: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in TriliumNext Trilium

0
Critical
VulnerabilityCVE-2026-48996cvecve-2026-48996cwe-79cwe-94
Published: 08/27/2026 (08/27/2026, 17:36:07 UTC)
Source: CVE Database V5
Vendor/Project: TriliumNext
Product: Trilium

Description

CVE-2026-48996 is a critical cross-site scripting (XSS) vulnerability in Trilium, an open-source note-taking application. Versions up to and including 0.103.0 have a flaw where the "Safe import" filter does not sanitize note titles properly. The GeoMap note view renders marker note titles as raw HTML, allowing attacker-supplied scripts to execute when the map is displayed. On the desktop client, this XSS can escalate to remote code execution due to Node integration in the Electron renderer. The issue is fixed in version 0.104.0.

CVSS v4.0

Score 9.3critical

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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

Affected software

TriliumNext

Trilium

Affected versions
<0.104.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 11:07:12 UTC

Technical Analysis

Trilium versions up to 0.103.0 have an XSS vulnerability caused by improper neutralization of input during web page generation. The Safe import filter fails to escape HTML event-handler payloads in note titles, which are interpolated into the GeoMap note view's innerHTML. This allows an attacker to inject JavaScript that executes when the map is opened. On the Electron-based desktop client, the injected script can escalate to full remote code execution because Node integration is enabled. The vulnerability is addressed in version 0.104.0.

Potential Impact

An attacker can craft a malicious import archive containing note titles with embedded scripts that execute upon viewing the GeoMap note view. This leads to cross-site scripting and, on the desktop client, remote code execution with the privileges of the user running the application. This can compromise the victim's machine and data.

Mitigation Recommendations

Upgrade to Trilium version 0.104.0 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not yet confirmed by vendor advisory; check the vendor's official channels for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-26T23:26:07.976Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a909cf1acd9273b49b2cd98

Added to database: 08/27/2026, 20:24:17 UTC

Last enriched: 09/08/2026, 11:07:12 UTC

Last updated: 10/10/2026, 18:48:20 UTC

Views: 62

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses