CVE-2026-22804CWE-269CWE-79

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

High · published January 12, 2026

CVSS v3.1
8.0
EPSS
0%
Percentile
10.1
In the wild
Unconfirmed
What it is

⚡ A sneaky SVG can lead to a world of hurt! In the Termix File Manager, a stored XSS vulnerability allows attackers to execute arbitrary JavaScript just by previewing a file. 😱 Think of it like a restaurant where the chef secretly adds dangerous ingredients to one meal. When an unsuspecting diner orders that dish, they get a surprise that could ruin their evening! If an attacker manages to infiltrate a managed SSH server and plants a malicious SVG file, any Termix user who previews that file could have their session hijacked. This means they could execute arbitrary commands within the application, potentially leading to unauthorized access or data breaches.

Put simply

Think of it like a restaurant where the chef secretly adds dangerous ingredients to one meal. When an unsuspecting diner orders that dish, they get a surprise that could ruin their evening! This stored XSS vulnerability in Termix occurs because the application fails to properly sanitize the content of SVG files before rendering. The flaw lies specifically in the `FileViewer.tsx` component, which allows harmful JavaScript to run in the context of the Termix application.

What to do

If an attacker manages to infiltrate a managed SSH server and plants a malicious SVG file, any Termix user who previews that file could have their session hijacked. This means they could execute arbitrary commands within the application, potentially leading to unauthorized access or data breaches. To remediate this issue, upgrade your Termix installation to version 1.10.0 as it contains the necessary fixes. Additionally, review your file management practices to ensure that SVG files are properly sanitized or restricted. Regularly check for updates to maintain security! You've got this! By following these steps, you'll strengthen your security defenses and keep those pesky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
8.0 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00206 · 10.1th percentile
Weaknesses
CWE-269 · Improper Privilege Management; CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-01-12T22:14Z
EPSS history
Timeline
  • 12 JAN 22:14Z
    Termix has a Stored XSS in File Manager leading to Local File Inclusion (LFI) in Electron and Session Hijacking in Browser
    cvelistv5