CVE-2026-22804

Termix has a Stored XSS in File Manager leading to Local File Inclusion (LFI) in Electron and Session Hijacking in Browser

Published Jan 12, 2026 CVSS 3.1 · 8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Termix is a web‑based server management platform. From versions 1.7.0 through 1.9.0 the File Manager component renders SVG files without proper sanitization, creating a stored Cross‑Site Scripting weakness. When a user previews a malicious SVG file, the embedded JavaScript executes in the context of the application. This arbitrary script execution can steal session tokens, hijack user sessions, and in the Electron environment may be used to read local files on the system running the client, effectively permitting local file inclusion. The flaw affords attackers who have already compromised a managed SSH server to plant damaging files that affect other users of the platform.

Affected Systems

The vulnerability affects Termix, the Termix‑SSH project, specifically releases 1.7.0, 1.8.0 and 1.9.0. Users of these versions are vulnerable until the fix is deployed in the subsequent 1.10.0 release. Any deployment of these releases that allows unfiltered SVG file previewing is at risk.

Risk and Exploitability

With a CVSS score of 8.0 the risk is classified as high. The EPSS estimation is below 1 %, indicating a very low but non‑zero probability of exploitation at the time of this assessment. Because an attacker must first gain SSH access to the managed host so that they can upload the malicious SVG, the attack vector is not openly accessible; it requires a compromised server before the XSS can be abused. The vulnerability is not listed in CISA’s KEV catalog, suggesting there are no known public exploits as of now, yet the potential impact remains significant and warrants swift remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Termix to version 1.10.0 or newer, which includes the patch that sanitizes SVG content.
  • Restrict file uploads to non‑SVG types or disable SVG previewing in the File Manager until the patch is applied.
  • Ensure that only trusted administrators have the rights to upload files, strengthen SSH access controls with network segmentation and multi‑factor authentication, and regularly audit file upload activities.

Generated by OpenCVE AI on April 18, 2026 at 06:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:termix:termix:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Termix
Termix termix
Vendors & Products Termix
Termix termix
Type Values Removed Values 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.
Title Termix has a Stored XSS in File Manager leading to Local File Inclusion (LFI) in Electron and Session Hijacking in Browser
Weaknesses CWE-269
CWE-79
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-269

    Improper Privilege Management

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 13, 2026, 7:07 PM
Reserved
Jan 9, 2026, 10:50 PM
Status
Analyzed
Published
Jan 12, 2026, 11:15 PM
Modified
Jun 17, 2026, 10:20 AM