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.
Severity (CVSS)
| Base score | 8.3 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-83 — CWE-83: Improper Neutralization of Script in Attributes in a Web Page
- CWE-693 — CWE-693: Protection Mechanism Failure
Affected products
| Vendor | Product | Versions |
|---|---|---|
| TriliumNext | Trilium | < 0.103.0 |
References
- https://github.com/TriliumNext/Trilium/security/advisories/GHSA-h45q-4qc4-8hhg (x_refsource_CONFIRM)
- https://github.com/TriliumNext/Trilium/commit/c06939448bcc2879fc3c4d328ff7dc63ed6b5009 (x_refsource_MISC)
- https://github.com/TriliumNext/Trilium/releases/tag/v0.103.0 (x_refsource_MISC)
Generated from the official CVE List on 19 Aug 2026 07:05 UTC.