# CVE-2026-22804: Termix has a Stored XSS in File Manager leading to Local File Inclusion (LFI) in Electron and Session Hijacking in Browser

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-12T22:14:03.762Z
- Modified: 2026-06-17T10:20:27.560Z
- Weaknesses: CWE-79, CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Termix-SSH Termix: >= 1.7.0, < 1.10.0
- termix termix: from 1.7.0 before 1.10.0

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Termix-SSH/Termix/security/advisories/GHSA-m3cv-5hgp-hv35> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2026-22804](https://www.cve.org/CVERecord?id=CVE-2026-22804), CVE Terms of Use, modified 2026-01-13
- NVD: [CVE-2026-22804](https://nvd.nist.gov/vuln/detail/CVE-2026-22804), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22804 · Whole record: https://cve.day/CVE-2026-22804.json · Rebuilt by cve.day 2026-11-25T22:59:12.741Z
