CVE-2026-48996: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in TriliumNext 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
Affected software
TriliumNext
Trilium
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.