Vitess vttablet /twopcz reflected XSS
Summary
| CVE | CVE-2026-104252 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-13 20:17:12 UTC |
| Updated | 2026-10-13 20:17:12 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-79 | CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/vitessio/vitess/security/advisories/GHSA-v75v-6fpf-gvw8 | [email protected] | github.com | |
| github.com/vitessio/vitess/commit/976e1e0d78f9d29d02e5e31b4aa7e180648f08af | [email protected] | github.com | |
| github.com/vitessio/vitess/commit/3140c1846cd120db34f33b2083139b4ab638aed2 | [email protected] | github.com | |
| github.com/vitessio/vitess/pull/20255 | [email protected] | github.com | |
| github.com/vitessio/vitess/releases/tag/v24.0.2 | [email protected] | github.com | |
| github.com/vitessio/vitess/pull/20273 | [email protected] | github.com | |
| github.com/vitessio/vitess/pull/20274 | [email protected] | github.com | |
| github.com/vitessio/vitess/releases/tag/v23.0.5 | [email protected] | github.com | |
| github.com/vitessio/vitess/commit/c1ed96302e658190168c971afdac730cf70e43f7 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.