CVE-2026-49864CWE-79cross-site-scripting

CVE-2026-49864

published August 14, 2026

CVSS
8.6
EPSS
0%
Percentile
37.5
In the wild
Unconfirmed
What it is

wetty provides terminal access in browser over http/https. Prior to version 3.0.4, the wetty client decodes a base64 filename from the file-download escape sequence and interpolates it raw into a Toastify HTML string (`escapeMarkup: false`). Any output the victim renders - a `cat`'d file, a tailed log, an SSH MOTD, a `curl` response - that contains `\x1b[5i...:...\x1b[4i` runs script in the wetty origin and types attacker-chosen keystrokes into the victim's SSH session. Version 3.0.4 fixes the issue.

The record
Technical detail
CVSS
8.6 · NONE
CVSS v4.0
Not supplied
EPSS
0.00444 · 37.5th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-08-14T00:17Z
References (2)
EPSS history
Timeline
  • 13 AUG 19:10Z
    wetty vulnerable to DOM XSS via file-download filename
    cvelistv5