CVE-2026-53578
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.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
- CWE-94: Improper Control of Generation of Code
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-08-31 |
Timeline
- 2026-08-27Published by the CNA19:21 UTC
- 2026-08-31CISA SSVC decision recorded4 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| triliumnotes trilium | before 0.104.0fixed in 0.104.0 | 0.104.0 |
References
- https://github.com/TriliumNext/Trilium/commit/15da3ff626c21fbadbc980ebb39e2f97085503a4
- https://github.com/TriliumNext/Trilium/security/advisories/GHSA-rj57-j38v-3577
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-53578'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-53578'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-53578'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-53578'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).