CVE-2026-22804 Cross-site scripting in Termix

High 8.0 Published Updated

Attackers can execute arbitrary JavaScript via unsanitized SVG files in the File Manager, leading to session hijacking or local file inclusion.

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-2026-22804?

CVE-2026-22804 is a high-severity cross-site scripting vulnerability in Termix-SSH Termix, published on 12 Jan 2026. 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

Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. From 1.7.0 to 1.9.0, Stored Cross-Site Scripting (XSS) vulnerability exists in the Termix File Manager component. The application fails to sanitize SVG file content before rendering it. This allows an attacker who has compromised a managed SSH server to plant a malicious file, which, when previewed by the Termix user, executes arbitrary JavaScript in the context of the application. The vulnerability is located in src/ui/desktop/apps/file-manager/components/FileViewer.tsx. This vulnerability is fixed in 1.10.0.

Weakness: CWE-79, CWE-269

Which versions are affected by CVE-2026-22804?

It affects 1 product.

Products include Termix Termix.

How do I fix CVE-2026-22804?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22804 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-m3cv-5hgp-hv35.

Is CVE-2026-22804 in your software?

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

Check your SBOMs for free