Vulnerability · Published Oct 13, 2026 · Assigned by GitHub_M
CVE-2026-104252Vitess vttablet /twopcz reflected XSS
Critical 9.8
In plain English
A critical-severity cross-site scripting in vitess from vitessio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | vitess.io/vitess | 0.23.5 | GHSA-v75v-6fpf-gvw8 |
| Go | vitess.io/vitess | 0.24.2 | GHSA-v75v-6fpf-gvw8 |
| Go | vitess.io/vitess | 0.23.5, 0.24.2 | GO-2026-6798 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/vitessio/vitess/security/advisories/GHSA-v75v-6fpf-gvw8 x_refsource_CONFIRM
- https://github.com/vitessio/vitess/pull/20255 x_refsource_MISC
- https://github.com/vitessio/vitess/pull/20273 x_refsource_MISC
- https://github.com/vitessio/vitess/pull/20274 x_refsource_MISC
- https://github.com/vitessio/vitess/commit/3140c1846cd120db34f33b2083139b4ab638aed2 x_refsource_MISC
- https://github.com/vitessio/vitess/commit/976e1e0d78f9d29d02e5e31b4aa7e180648f08af x_refsource_MISC
- https://github.com/vitessio/vitess/commit/c1ed96302e658190168c971afdac730cf70e43f7 x_refsource_MISC
- https://github.com/vitessio/vitess/releases/tag/v23.0.5 x_refsource_MISC
- https://github.com/vitessio/vitess/releases/tag/v24.0.2 x_refsource_MISC