CVE-2022-2365 Cross-site Scripting (XSS) - Stored in zadam/trilium

Medium 4.0 Published Updated

Stored XSS in Trilium Notes allows attackers to inject malicious scripts, potentially leading to code execution or data theft.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-2365?

CVE-2022-2365 is a medium-severity cross-site scripting vulnerability in zadam/trilium, published on 10 Jul 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Cross-site Scripting (XSS) - Stored in GitHub repository zadam/trilium prior to 0.53.3.

Weakness: CWE-79

Which versions are affected by CVE-2022-2365?

It affects 1 product.

Products include Trilium Project Trilium.

How do I fix CVE-2022-2365?

No fix has been published for CVE-2022-2365 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-2365 being exploited?

There is no known exploitation of CVE-2022-2365 in the wild and no public exploit code.

Sources

Also known as GHSA-h7vg-c9hc-f8gq.

Is CVE-2022-2365 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free