CVE-2026-45733: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in TriliumNext Trilium
Trilium Notes is a cross-platform, hierarchical note taking application focused on building large personal knowledge bases. Prior to 0.103.0, the #iconClass label value is returned raw by getNoteIcon() and inserted without HTML attribute encoding into class attributes in apps/client/src/widgets/quick_search.ts and apps/client/src/services/note_autocomplete.ts, allowing a stored payload to execute automatically when a victim opens a new tab or uses Ctrl+J and, because Electron enables nodeIntegration and disables contextIsolation, run operating-system commands as the victim. This issue is fixed in version 0.103.0.
AI Analysis
Technical Summary
Trilium Notes versions before 0.103.0 improperly neutralize input during web page generation, specifically in the handling of the #iconClass label value returned by getNoteIcon(). This value is inserted without HTML attribute encoding into class attributes in apps/client/src/widgets/quick_search.ts and apps/client/src/services/note_autocomplete.ts. This flaw enables stored cross-site scripting (XSS) payloads to execute automatically when a victim opens a new tab or uses the Ctrl+J shortcut. Because the application is built on Electron with nodeIntegration enabled and contextIsolation disabled, the XSS can escalate to executing operating system commands under the victim's context. The vulnerability is tracked as CVE-2026-45733 and has a CVSS 3.1 score of 8.3 (high severity). The vulnerability is fixed in Trilium version 0.103.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code on the victim's machine by leveraging stored XSS in the application interface. This can lead to full compromise of the victim's operating system environment due to Electron's insecure default configuration in affected versions. The impact includes high confidentiality, integrity, and availability loss as indicated by the CVSS vector.
Mitigation Recommendations
Upgrade Trilium Notes to version 0.103.0 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated by the vendor advisory. Users should ensure they are not running affected versions.
CVE-2026-45733: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in TriliumNext Trilium
Description
Trilium Notes is a cross-platform, hierarchical note taking application focused on building large personal knowledge bases. Prior to 0.103.0, the #iconClass label value is returned raw by getNoteIcon() and inserted without HTML attribute encoding into class attributes in apps/client/src/widgets/quick_search.ts and apps/client/src/services/note_autocomplete.ts, allowing a stored payload to execute automatically when a victim opens a new tab or uses Ctrl+J and, because Electron enables nodeIntegration and disables contextIsolation, run operating-system commands as the victim. This issue is fixed in version 0.103.0.
CVSS v3.1
Score 8.3high
Affected software
pkg:github/triliumnext/TriliumRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Trilium Notes versions before 0.103.0 improperly neutralize input during web page generation, specifically in the handling of the #iconClass label value returned by getNoteIcon(). This value is inserted without HTML attribute encoding into class attributes in apps/client/src/widgets/quick_search.ts and apps/client/src/services/note_autocomplete.ts. This flaw enables stored cross-site scripting (XSS) payloads to execute automatically when a victim opens a new tab or uses the Ctrl+J shortcut. Because the application is built on Electron with nodeIntegration enabled and contextIsolation disabled, the XSS can escalate to executing operating system commands under the victim's context. The vulnerability is tracked as CVE-2026-45733 and has a CVSS 3.1 score of 8.3 (high severity). The vulnerability is fixed in Trilium version 0.103.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code on the victim's machine by leveraging stored XSS in the application interface. This can lead to full compromise of the victim's operating system environment due to Electron's insecure default configuration in affected versions. The impact includes high confidentiality, integrity, and availability loss as indicated by the CVSS vector.
Mitigation Recommendations
Upgrade Trilium Notes to version 0.103.0 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated by the vendor advisory. Users should ensure they are not running affected versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T05:51:48.667Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a84781fc6e8be0332629bb6
Added to database: 08/18/2026, 15:19:59 UTC
Last enriched: 08/18/2026, 15:34:43 UTC
Last updated: 08/18/2026, 15:50:10 UTC
Views: 5
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.