{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.103.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c06939448bcc2879fc3c4d328ff7dc63ed6b5009"
            },
            {
              "fixed": "44f5be88b776078fe268dc9877411cb144df3a46"
            }
          ],
          "repo": "https://github.com/triliumnext/trilium",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h45q-4qc4-8hhg"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-693",
      "CWE-79",
      "CWE-83"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45733.json"
  },
  "details": "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.",
  "id": "CVE-2026-45733",
  "modified": "2026-09-20T11:30:57.894718034Z",
  "published": "2026-08-18T15:13:16.946Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/TriliumNext/Trilium/releases/tag/v0.103.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45733.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/TriliumNext/Trilium/security/advisories/GHSA-h45q-4qc4-8hhg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45733"
    },
    {
      "type": "FIX",
      "url": "https://github.com/TriliumNext/Trilium/commit/c06939448bcc2879fc3c4d328ff7dc63ed6b5009"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Trilium: Stored XSS in note icon rendering leads to Remote Code Execution in Electron desktop app"
}