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

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-18T15:13:16.946Z
- Modified: 2026-10-22T22:10:00.250Z
- Weaknesses: CWE-79, CWE-83, CWE-693
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- TriliumNext Trilium: < 0.103.0

## References

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

## Sources

- CVE List: [CVE-2026-45733](https://www.cve.org/CVERecord?id=CVE-2026-45733), CVE Terms of Use, modified 2026-08-18
- NVD: [CVE-2026-45733](https://nvd.nist.gov/vuln/detail/CVE-2026-45733), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-45733 · Whole record: https://cve.day/CVE-2026-45733.json · Rebuilt by cve.day 2026-11-25T22:59:33.471Z
