CVE Explorer
CVE-2026-39311
Trilium Notes is a cross-platform, hierarchical note taking application focused on building large personal knowledge bases. Versions 0.102.1 and prior contain a critical security flaw where lack of SVG sanitization combined with a disabled Content Security Policy (CSP) and a publicly reachable backend execution API results in an unauthenticated Remote Code Execution (RCE). The vulnerability arises from an insecure-by-design architecture: Trilium serves SVG attachments with the image/svg+xml MIME
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:06b19292a97add3e9b1057905d683bfb1fe229c2c9170edf6cc19158ec754ce9 · sha256:7ed54d9033dfa8a0… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:06b19292a97add3e9b1057905d683bfb1fe229c2c9170edf6cc19158ec754ce9 · sha256:7ed54d9033dfa8a0… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"Trilium","vendor":"TriliumNext","versions":[{"status":"affected","version":"< 0.102.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:06b19292a97add3e9b1057905d683bfb1fe229c2c9170edf6cc19158ec754ce9 · sha256:7ed54d9033dfa8a0… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:06b19292a97add3e9b1057905d683bfb1fe229c2c9170edf6cc19158ec754ce9 · sha256:7ed54d9033dfa8a0… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:06b19292a97add3e9b1057905d683bfb1fe229c2c9170edf6cc19158ec754ce9 · sha256:7ed54d9033dfa8a0… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:06b19292a97add3e9b1057905d683bfb1fe229c2c9170edf6cc19158ec754ce9 · sha256:7ed54d9033dfa8a0… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 source assertions{"name":"https://github.com/TriliumNext/Trilium/releases/tag/v0.102.2","tags":["x_refsource_MISC"],"url":"https://github.com/TriliumNext/Trilium/releases/tag/v0.102.2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:06b19292a97add3e9b1057905d683bfb1fe229c2c9170edf6cc19158ec754ce9 · sha256:7ed54d9033dfa8a0… · /containers/cna/references/1
{"name":"https://github.com/TriliumNext/Trilium/security/advisories/GHSA-p837-cxw3-m964","tags":["x_refsource_CONFIRM"],"url":"https://github.com/TriliumNext/Trilium/security/advisories/GHSA-p837-cxw3-m964"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:06b19292a97add3e9b1057905d683bfb1fe229c2c9170edf6cc19158ec754ce9 · sha256:7ed54d9033dfa8a0… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/TriliumNext/Trilium/security/advisories/GHSA-p837-cxw3-m964"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:06b19292a97add3e9b1057905d683bfb1fe229c2c9170edf6cc19158ec754ce9 · sha256:7ed54d9033dfa8a0… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.