{"id":"CVE-2026-104252","state":"PUBLISHED","title":"Vitess vttablet /twopcz reflected XSS","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.","publishedAt":"2026-10-13T19:22:58.208Z","updatedAt":"2026-10-15T15:11:35.194Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["vitessio vitess"],"affected":[{"vendor":"vitessio","product":"vitess","versions":[{"version":"< 23.0.5","status":"affected"},{"version":">= 24.0.0, < 24.0.2","status":"affected"}]}],"references":["https://github.com/vitessio/vitess/security/advisories/GHSA-v75v-6fpf-gvw8","https://github.com/vitessio/vitess/pull/20255","https://github.com/vitessio/vitess/pull/20273","https://github.com/vitessio/vitess/pull/20274","https://github.com/vitessio/vitess/commit/3140c1846cd120db34f33b2083139b4ab638aed2","https://github.com/vitessio/vitess/commit/976e1e0d78f9d29d02e5e31b4aa7e180648f08af","https://github.com/vitessio/vitess/commit/c1ed96302e658190168c971afdac730cf70e43f7","https://github.com/vitessio/vitess/releases/tag/v23.0.5","https://github.com/vitessio/vitess/releases/tag/v24.0.2"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/104xxx/CVE-2026-104252.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-104252","state":"PUBLISHED","datePublished":"2026-10-13T19:22:58.208Z","dateUpdated":"2026-10-15T15:11:35.194Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-01T19:04:39.706Z"},"containers":{"cna":{"title":"Vitess vttablet /twopcz reflected XSS","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"vitessio","product":"vitess","versions":[{"version":"< 23.0.5","status":"affected"},{"version":">= 24.0.0, < 24.0.2","status":"affected"}]}],"references":[{"url":"https://github.com/vitessio/vitess/security/advisories/GHSA-v75v-6fpf-gvw8","name":"https://github.com/vitessio/vitess/security/advisories/GHSA-v75v-6fpf-gvw8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vitessio/vitess/pull/20255","name":"https://github.com/vitessio/vitess/pull/20255","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/pull/20273","name":"https://github.com/vitessio/vitess/pull/20273","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/pull/20274","name":"https://github.com/vitessio/vitess/pull/20274","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/commit/3140c1846cd120db34f33b2083139b4ab638aed2","name":"https://github.com/vitessio/vitess/commit/3140c1846cd120db34f33b2083139b4ab638aed2","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/commit/976e1e0d78f9d29d02e5e31b4aa7e180648f08af","name":"https://github.com/vitessio/vitess/commit/976e1e0d78f9d29d02e5e31b4aa7e180648f08af","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/commit/c1ed96302e658190168c971afdac730cf70e43f7","name":"https://github.com/vitessio/vitess/commit/c1ed96302e658190168c971afdac730cf70e43f7","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitessio/vitess/releases/tag/v23.0.5","name":"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","name":"https://github.com/vitessio/vitess/releases/tag/v24.0.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-13T19:22:58.208Z"},"source":{"advisory":"GHSA-v75v-6fpf-gvw8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-15T13:23:55.916133Z","id":"CVE-2026-104252","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T15:11:35.194Z"}}]}}}