# CVE-2026-48996: Trilium: Malicious import with GeoMap marker title XSS leads to RCE on the desktop client

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-27T17:36:07.483Z
- Modified: 2026-10-14T15:51:48.220Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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 does not sanitize note titles, and the GeoMap note view interpolates a marker note's title into raw HTML that is rendered as innerHTML, allowing an attacker-supplied import archive to inject script that runs when the map is displayed. Because Safe import neutralizes scripts but never escapes titles, a note whose title contains an HTML event-handler payload survives the import and executes as soon as the victim opens the GeoMap that renders its marker. 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.

(As written by CVE List.)

## Affected

- TriliumNext Trilium: < 0.104.0
- triliumnotes trilium: before 0.104.0

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/TriliumNext/Trilium/security/advisories/GHSA-7qfw-c9gj-2xq2> (exploit, vendor-advisory)
- <https://github.com/TriliumNext/Trilium/commit/5245ad70f6ecc54e0309fb83e596f15fe5dc5bf6> (patch)

## Sources

- CVE List: [CVE-2026-48996](https://www.cve.org/CVERecord?id=CVE-2026-48996), CVE Terms of Use, modified 2026-08-29
- NVD: [CVE-2026-48996](https://nvd.nist.gov/vuln/detail/CVE-2026-48996), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-48996 · Whole record: https://cve.day/CVE-2026-48996.json · Rebuilt by cve.day 2026-11-25T22:59:35.527Z
