CVE-2026-22804 Cross-site scripting in Termix
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.
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.
Other vulnerabilities in Termix-SSH Termix
- CVE-2026-45744 Termix has an OS Command Injection in File Manager resolvePath endpoint
- CVE-2026-45748 Termix Vulnerable to Remote Code Execution via SSH Tunnel Forward Command Injection
- CVE-2025-59951 Termix' official Docker image contains an authentication bypass vulnerability
- CVE-2026-45746 Termix Vulnerable to Arbitrary Command Execution via Session Hijacking
- CVE-2026-45750 Termix Vulnerable to Arbitrary Command Execution in File Manager
Sources
Also known as GHSA-m3cv-5hgp-hv35.