CVE-2026-53579: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in TriliumNext Trilium
Description
TriliumNext Trilium versions up to and including 0.103.0 have a cross-site scripting (XSS) vulnerability due to improper sanitization of the book note type during import. This allows attacker-supplied scripts to execute when a malicious note is previewed. On the desktop client, this XSS can escalate to remote code execution because Node integration is enabled 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
TriliumNext Trilium, an open-source hierarchical note-taking application, contains a vulnerability in versions up to and including 0.103.0 where the default 'Safe import' filter sanitizes HTML only for text notes but excludes the book note type. The book note content is stored without sanitization and rendered as HTML, allowing an attacker to embed malicious scripts in an import archive. When a user views the note in grid-view preview, the malicious script executes via jQuery's html method. On the desktop client, the Electron renderer's Node integration enables escalation from XSS to full remote code execution on the victim's machine. This vulnerability is addressed in version 0.104.0.
Potential Impact
An attacker can craft a malicious import archive containing a book note with embedded script that executes when the victim previews the note. This leads to cross-site scripting in the application. On the desktop client, the vulnerability escalates to remote code execution due to Node integration in Electron, potentially allowing full control over the victim's machine. The CVSS 4.0 score is 9.3 (critical), reflecting high impact and exploitability with user interaction required.
Mitigation Recommendations
Upgrade Trilium to version 0.104.0 or later, where this vulnerability is fixed. No other mitigation or workaround is documented. Patch status is confirmed fixed in 0.104.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-09T19:11:53.484Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a909cf4acd9273b49b2cdce
Added to database: 08/27/2026, 20:24:20 UTC
Last enriched: 09/08/2026, 11:07:07 UTC
Last updated: 10/10/2026, 06:48:17 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.