CVE-2022-2290 Cross-site Scripting (XSS) - Reflected in zadam/trilium
Reflected Cross-Site Scripting in Trilium Notes allows attackers to execute arbitrary scripts in the context of the application.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-2290?
CVE-2022-2290 is a medium-severity cross-site scripting vulnerability in zadam/trilium, published on 3 Jul 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site Scripting (XSS) - Reflected in GitHub repository zadam/trilium prior to 0.52.4, 0.53.1-beta.
Weakness: CWE-79
Which versions are affected by CVE-2022-2290?
It affects 1 product.
Products include Triliumnotes Trilium.
How do I fix CVE-2022-2290?
No fix has been published for CVE-2022-2290 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-2290 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2290 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in zadam/trilium
- CVE-2026-48996 Trilium: Malicious import with GeoMap marker title XSS leads to RCE on the desktop client
- CVE-2026-53578 Trilium: Note Import to RCE via Mind Elixir dangerouslySetInnerHtml
- CVE-2026-53579 Trilium: Note Import to RCE via Book Note
- CVE-2026-47727 Code injection in Trilium
- CVE-2026-53580 Trilium arbitrary file read and denial of service via file:// URLs in the automatic image-download feature
Sources
Also known as GHSA-4fjp-3mcp-2938.