Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
High
VulnerabilityCVE-2026-45733cvecve-2026-45733cwe-79cwe-83cwe-693
Published: 08/18/2026 (08/18/2026, 15:13:16 UTC)
Source: CVE Database V5
Vendor/Project: TriliumNext
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L

Affected software

GitHub Actionsmore threats →ai
triliumnext/Trilium
pkg:github/triliumnext/Trilium
Affected versions
<0.103.0

Run 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

AILast updated: 08/18/2026, 15:34:43 UTC

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.

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