{"id":"CVE-2026-104252","published":"2026-10-13T19:22:58Z","modified":"2026-10-15T15:11:35Z","title":"Vitess vttablet /twopcz reflected XSS","vendor":"vitessio","product":"vitess","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01195,"percentile":0.67923,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/vitessio/vitess/security/advisories/GHSA-v75v-6fpf-gvw8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vitessio/vitess/pull/20255","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/pull/20273","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/pull/20274","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/commit/3140c1846cd120db34f33b2083139b4ab638aed2","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/commit/976e1e0d78f9d29d02e5e31b4aa7e180648f08af","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/commit/c1ed96302e658190168c971afdac730cf70e43f7","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/releases/tag/v23.0.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/releases/tag/v24.0.2","tags":["x_refsource_MISC"]}],"priority":{"score":20.4,"factors":[{"name":"EPSS percentile","points":13.58},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"vitessio","affectedVersions":[{"vendor":"vitessio","product":"vitess","versions":["< 23.0.5",">= 24.0.0, < 24.0.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-15T13:23:55.916133Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"vitess.io/vitess","vulnerableRanges":["<0.23.5",">=0.24.0, <0.24.2"],"patched":["0.23.5","0.24.2"],"from":["GHSA-v75v-6fpf-gvw8","GO-2026-6798"],"provenance":"source"}],"summary":{"text":"Vitess, a database clustering system for horizontal scaling of MySQL, has a reflected cross-site scripting flaw in the /twopcz debug endpoint of its vttablet and vtcombo components, where the Action and dtid form values are written into an HTML response without escaping. An unauthenticated remote attacker can exploit it under the default allow-all ACL policy by sending an operator a crafted request that runs script in the operator's browser once opened, with access to same-origin diagnostic endpoints that may expose query, transaction, environment, variable, or profiling data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-08T14:00:38Z"},"euvd":{"id":"EUVD-2026-100525","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-53257","published":"2024-12-03","fixed":"0.21.1","kev":false},{"cve":"CVE-2026-27965","published":"2026-02-26","fixed":"0.23.3","kev":false},{"cve":"CVE-2026-27969","published":"2026-02-26","fixed":"0.23.3","kev":false,"link":{"from":"CVE-2026-27969","to":"CVE-2026-104252","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:vitess.io/vitess","fromFixed":"0.23.3","toFixed":"0.23.5","daysApart":229}]}},{"cve":"CVE-2026-104252","published":"2026-10-13","fixed":"0.24.2","kev":false},{"cve":"CVE-2026-65959","published":"2026-08-18","fixed":"0.24.3","kev":false}],"package":"Go:vitess.io/vitess"}}