Search/CVE-2026-47727
● CVE

CVE-2026-47727

DiscoveredAug 27, 2026UpdatedSep 9, 2026

Trilium is an open-source hierarchical note-taking application. In versions prior to 0.104.0, the default-on "Safe import" filter fails to neutralize the shareTemplate relation because that relation is not marked as dangerous, allowing an attacker-supplied import archive to plant a server-side template that leads to remote code execution. The relation is omitted from the built-in list of dangerous attributes, so unlike other code-loading relations it is not disabled on import, and when the victim later publishes the imported note the public share renderer feeds the linked EJS code note's raw bytes into ejs.render, which compiles them in the server's Node process. An unauthenticated request to the shared note then executes the attacker's JavaScript with full access to require, process, the…

CVSS v3.1
—
EPSS
0.50%
probability of exploitation in 30 days
CISA KEV
Not listed
no confirmed exploitation reported
News coverage
0
sources referencing this CVE
Related IOCs
0
seen in the same coverage
EPSS Trend
Aug 29, 2026 → Oct 22, 2026
▲ 0.07pp
0.43% → 0.50% over 3 tracked changes
Connections
2 relationships
Timeline
disclosure → media coverage
Aug 27, 2026
Disclosure — published as a CVE record. · last revised by NVD Sep 9, 2026