wetty provides terminal access in browser over http/https. Prior to version 3.0.4, the wetty client decodes a…
Historical advisory recorded 25 Oct 2026 12:17:38 UTC. Read the latest advisory.
nvd · CVE-2026-49864
Publishedwetty 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-49864 · CVE overview and exploitation status
nvd · CVE-2026-49864
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.