{
  "id": "CVE-2026-49864",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-49864",
  "published_at": "2026-08-13T19:10:41.037Z",
  "title": "wetty vulnerable to DOM XSS via file-download filename",
  "vendor": "butlerx",
  "product": "wetty",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-79",
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "butlerx",
        "product": "wetty",
        "ranges": [
          "\u003c 3.0.4"
        ],
        "fixed_in": [
          "3.0.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade wetty to 3.0.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/butlerx/wetty/security/advisories/GHSA-p26j-h7wj-r568"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
