{
  "id": "CVE-2026-104252",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-104252",
  "published_at": "2026-10-13T19:22:58.208Z",
  "title": "Vitess vttablet /twopcz reflected XSS",
  "vendor": "vitessio",
  "product": "vitess",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "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": "Vitess is a database clustering system for horizontal scaling of MySQL. Prior to 23.0.5 and 24.0.2, twopczHandler in go/vt/vttablet/tabletserver/twopcz.go writes the Action and dtid form values from the vttablet and vtcombo /twopcz HTTP debug endpoint into a text/html response without HTML escaping. Under the default allow-all ACL policy, a remote unauthenticated attacker can send an operator a crafted request that executes script in the operator's browser after the request is opened. The script runs with the vttablet debug origin and can read same-origin diagnostic endpoints that expose query, transaction, environment, variable, or profiling data available in that deployment. This issue is fixed in versions 23.0.5 and 24.0.2.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:linuxfoundation:vitess:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "vitessio",
        "product": "vitess",
        "ranges": [
          "\u003c 23.0.5",
          "\u003e= 24.0.0, \u003c 24.0.2"
        ],
        "fixed_in": [
          "23.0.5",
          "24.0.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade vitess to 23.0.5 or 24.0.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/vitessio/vitess/security/advisories/GHSA-v75v-6fpf-gvw8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/vitessio/vitess/pull/20255"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/vitessio/vitess/pull/20273"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/vitessio/vitess/pull/20274"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/vitessio/vitess/commit/3140c1846cd120db34f33b2083139b4ab638aed2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/vitessio/vitess/commit/976e1e0d78f9d29d02e5e31b4aa7e180648f08af"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/vitessio/vitess/commit/c1ed96302e658190168c971afdac730cf70e43f7"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/vitessio/vitess/releases/tag/v23.0.5"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
