CVE-2026-22804: Termix has a Stored XSS in File Manager leading to Local File Inclusion (LFI) in Electron and Session Hijacking in Browser
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-22804?
CVE-2026-22804 is classified as a high severity vulnerability due to its potential for stored XSS, leading to local file inclusion and session hijacking.
How do I fix CVE-2026-22804?
To fix CVE-2026-22804, update Termix to version 1.9.1 or later, which addresses the stored XSS vulnerability.
Which versions of Termix are affected by CVE-2026-22804?
CVE-2026-22804 affects Termix versions from 1.7.0 to 1.9.0.
What types of attacks are possible with CVE-2026-22804?
CVE-2026-22804 allows for stored cross-site scripting attacks that could lead to local file inclusion and session hijacking.
Is CVE-2026-22804 a remote or local vulnerability?
CVE-2026-22804 is considered a remote vulnerability, as it can be exploited over the network by attackers.