CVE-2026-45733 Trilium: Stored XSS in note icon rendering leads to Remote Code Execution in Electron desktop app

High 8.3 Published Updated

Stored XSS in Trilium Notes allows remote code execution via Electron's nodeIntegration when victims view malicious note icons.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-45733?

CVE-2026-45733 is a high-severity cross-site scripting vulnerability in TriliumNext Trilium, published on 18 Aug 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

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

Weakness: CWE-83, CWE-79, CWE-693

Which versions are affected by CVE-2026-45733?

How do I fix CVE-2026-45733?

No fix has been published for CVE-2026-45733 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-45733 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45733 exists.

Sources

Also known as GHSA-h45q-4qc4-8hhg.

Is CVE-2026-45733 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free