Skip to content

CVE-2026-104252 Vitess vttablet /twopcz reflected XSS

CriticalCVSS 9.8 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
MySQL

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
azure linux vitess(Azure Linux 3.0) < 19.0.4-16 19.0.4-16 Fixed
linuxfoundation vitess < 23.0.5; >= 24.0.0, < 24.0.2 23.0.5, 24.0.2 Fixed
vitess.io/vitess(Go) < 0.23.5; >= 0.24.0, < 0.24.2 0.23.5, 0.24.2 Fixed
vitessio vitess = < 23.0.5; = >= 24.0.0, < 24.0.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
vitessio vitess = < 23.0.5 No fix listed
vitessio vitess = >= 24.0.0, < 24.0.2 No fix listed
vitess.io/vitess(Go) < 0.23.5 0.23.5
vitess.io/vitess(Go) >= 0.24.0, < 0.24.2 0.24.2
linuxfoundation vitess < 23.0.5 23.0.5
linuxfoundation vitess >= 24.0.0, < 24.0.2 24.0.2
azure linux vitess(Azure Linux:3.0) < 19.0.4-16 19.0.4-16

References