Description
Trilium Notes, version v0.103.0 and earlier, contains a stored cross-site scripting (XSS) vulnerability in the share renderer for webView notes due to improper HTML escaping of user-controlled #webViewSrc values. This vulnerability allows attackers with note-authoring privileges to inject arbitrary JavaScript that executes for any user who opens the shared note, including administrators.
Published: 2026-09-14
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting in Trilium Notes share renderer
Action: Apply Patch
AI Analysis

Impact

Trilium Notes introduced a stored cross‑site scripting flaw in the share renderer for webView notes. The vulnerability arises from inadequate HTML escaping of the user‑controlled #webViewSrc parameter, allowing a note author to inject malicious JavaScript. When any user—including administrators—opens the compromised note, the injected code runs in the context of the victim’s browser, potentially leading to data theft, credential compromise, or the execution of arbitrary client‑side instructions.

Affected Systems

Trilium Notes versions 0.103.0 and earlier are affected. The flaw affects any installation that utilizes the share renderer to publish notes via webView, regardless of deployment environment.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity, and there is no EPSS score available. The flaw is not listed in the CISA KEV catalog. Attackers need only note‑authoring privileges to embed the payload, and the exploitation occurs when a target user opens the shared note. The path is internal to the application, requiring no external network interaction beyond the share action.

Generated by OpenCVE AI on September 15, 2026 at 12:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Trilium Notes to a version newer than 0.103.0 where the input sanitisation is fixed.
  • If an upgrade is not immediately possible, restrict note‑authoring privileges or disable the webView share renderer until a patch is applied.
  • Implement a strict Content‑Security‑Policy for the webView to block the execution of injected scripts and mitigate potential damage.

Generated by OpenCVE AI on September 15, 2026 at 12:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 14 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
Description Trilium Notes, version v0.103.0 and earlier, contains a stored cross-site scripting (XSS) vulnerability in the share renderer for webView notes due to improper HTML escaping of user-controlled #webViewSrc values. This vulnerability allows attackers with note-authoring privileges to inject arbitrary JavaScript that executes for any user who opens the shared note, including administrators.
Title CVE-2026-91021
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published:

Updated: 2026-09-14T19:41:39.660Z

Reserved: 2026-09-14T17:02:03.736Z

Link: CVE-2026-91021

cve-icon Vulnrichment

Updated: 2026-09-14T19:41:27.789Z

cve-icon NVD

Status : Deferred

Published: 2026-09-14T18:20:29.467

Modified: 2026-09-16T13:42:48.320

Link: CVE-2026-91021

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-15T13:00:17Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')