What’s Vulnerable › Vulnerabilities
CVE-2026-45733: Trilium: Stored XSS in note icon rendering leads to Remote Code Execution in Electron desktop app
- Severity: high (CVSS 8.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-18 · updated 2026-10-22
- Weakness: CWE-79
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.
Affected products
- TriliumNext Trilium: before 0.103.0
References
- https://github.com/TriliumNext/Trilium/commit/c06939448bcc2879fc3c4d328ff7dc63ed6b5009
- https://github.com/TriliumNext/Trilium/releases/tag/v0.103.0
- https://github.com/TriliumNext/Trilium/security/advisories/GHSA-h45q-4qc4-8hhg
- https://github.com/TriliumNext/Trilium/security/advisories/GHSA-h45q-4qc4-8hhg
Get alerted when CVE-2026-45733 or the next vulnerability affects your stack