CVE-2026-22804
Termix has a Stored XSS in File Manager leading to Local File Inclusion (LFI) in Electron and Session Hijacking in Browser
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.
INFO
Published Date :
Jan. 12, 2026, 11:15 p.m.
Last Modified :
Jan. 16, 2026, 6:37 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update Termix to version 1.10.0.
- Ensure SVG file content is sanitized before rendering.
Public PoC/Exploit Available at Github
CVE-2026-22804 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-22804.
| URL | Resource |
|---|---|
| https://github.com/Termix-SSH/Termix/security/advisories/GHSA-m3cv-5hgp-hv35 | Exploit Third Party Advisory |
| https://github.com/Termix-SSH/Termix/security/advisories/GHSA-m3cv-5hgp-hv35 | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-22804 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-22804
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
This repository contains a Proof of Concept (PoC) exploit for the Stored Cross-Site Scripting (XSS) vulnerability in Termix, which can lead to Local File Inclusion (LFI) in the Electron environment and Session Hijacking.
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-22804 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-22804 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 16, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N Added CWE CWE-79 Added CPE Configuration OR *cpe:2.3:a:termix:termix:*:*:*:*:*:*:*:* versions from (including) 1.7.0 up to (excluding) 1.10.0 Added Reference Type CISA-ADP: https://github.com/Termix-SSH/Termix/security/advisories/GHSA-m3cv-5hgp-hv35 Types: Exploit, Third Party Advisory Added Reference Type GitHub, Inc.: https://github.com/Termix-SSH/Termix/security/advisories/GHSA-m3cv-5hgp-hv35 Types: Exploit, Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jan. 13, 2026
Action Type Old Value New Value Added Reference https://github.com/Termix-SSH/Termix/security/advisories/GHSA-m3cv-5hgp-hv35 -
New CVE Received by [email protected]
Jan. 12, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N Added CWE CWE-79 Added CWE CWE-269 Added Reference https://github.com/Termix-SSH/Termix/security/advisories/GHSA-m3cv-5hgp-hv35