Trilium: Note Import to RCE via Mind Elixir dangerouslySetInnerHtml
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| TriliumNext | Trilium | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Triliumnext | Trilium |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.252% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Triliumnotes
Triliumnotes trilium |
|
| CPEs | cpe:2.3:a:triliumnotes:trilium:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Triliumnotes
Triliumnotes trilium |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Triliumnext
Triliumnext trilium |
|
| Vendors & Products |
Triliumnext
Triliumnext trilium |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Trilium is an open-source hierarchical note-taking application. In versions up to and including 0.103.0, the default-on "Safe import" filter sanitizes HTML only for text notes and excludes the mindMap note type, whose JSON content is stored without sanitization, allowing an attacker-supplied import archive to embed a payload that renders as arbitrary HTML. A mind map node can carry a dangerouslySetInnerHTML property that the Mind Elixir library assigns directly to a node's innerHTML, so a malicious note survives Safe import and executes script as soon as the victim opens the imported mind map. On the desktop client the Electron renderer runs with Node integration enabled, so the injected JavaScript escalates from cross-site scripting to full remote code execution on the victim's machine. This issue is fixed in version 0.104.0. | |
| Title | Trilium: Note Import to RCE via Mind Elixir dangerouslySetInnerHtml | |
| Weaknesses | CWE-79 CWE-94 |
|
| References |
| |
| Metrics |
cvssV4_0
|