Skip to main content
EPSS 0.4%top 64%

CVE-2026-49864: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in butlerx wetty

0
High
VulnerabilityCVE-2026-49864cvecve-2026-49864cwe-79
Published: 08/13/2026 (08/13/2026, 19:10:41 UTC)
Source: CVE Database V5
Vendor/Project: butlerx
Product: wetty

Description

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.

CVSS v4.0

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Affected software

butlerx

wetty

Affected versions
<3.0.4
GitHub Actionsmore threats →ai
butlerx/wetty
pkg:github/butlerx/wetty
Affected versions
<3.0.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 13:04:37 UTC

Technical Analysis

The wetty client before version 3.0.4 improperly neutralizes input during web page generation by decoding a base64 filename from a file-download escape sequence and interpolating it raw into a Toastify HTML string with escapeMarkup set to false. This allows an attacker to craft input containing specific escape sequences (`\x1b[5i...:...\x1b[4i`) that execute scripts in the wetty origin context and simulate keystrokes in the victim's SSH session. The vulnerability is identified as CWE-79 (Improper Neutralization of Input During Web Page Generation). Version 3.0.4 addresses this issue.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary scripts within the wetty web client origin and inject keystrokes into the victim's SSH session, potentially leading to unauthorized command execution or session manipulation. This compromises the confidentiality and integrity of the victim's terminal session.

Mitigation Recommendations

Upgrade wetty to version 3.0.4 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the vendor advisory, but the version 3.0.4 release addresses the issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-01T22:03:19.640Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a7e1a7fbf8831d539b180dd

Added to database: 08/13/2026, 19:26:55 UTC

Last enriched: 08/21/2026, 13:04:37 UTC

Last updated: 09/27/2026, 05:12:49 UTC

Views: 50

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses