Skip to main content

CVE-2026-104252: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in vitessio vitess

0
Critical
VulnerabilityCVE-2026-104252cvecve-2026-104252cwe-79
Published: 10/13/2026 (10/13/2026, 19:22:58 UTC)
Source: CVE Database V5
Vendor/Project: vitessio
Product: vitess

Description

CVE-2026-104252 is a critical cross-site scripting (XSS) vulnerability in the Vitess database clustering system. It affects versions prior to 23.0.5 and versions from 24.0.0 up to but not including 24.0.2. The vulnerability arises because the twopczHandler writes certain form values into an HTML response without proper escaping. This allows a remote unauthenticated attacker to execute arbitrary scripts in the browser of an operator who opens a crafted request, potentially exposing sensitive diagnostic data. The issue is fixed in versions 23.0.5 and 24.0.2.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

vitessio

vitess

Affected versions
<23.0.5>=24.0.0 <24.0.2
GitHub Actionsmore threats →ai
vitessio/vitess
pkg:github/vitessio/vitess
Affected versions
<23.0.5>=24.0.0 <24.0.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/13/2026, 20:03:15 UTC

Technical Analysis

Vitess, a MySQL clustering system, contains a cross-site scripting vulnerability in the twopczHandler component located in go/vt/vttablet/tabletserver/twopcz.go. The handler writes the 'Action' and 'dtid' form values from the /twopcz HTTP debug endpoint into a text/html response without HTML escaping. Under the default allow-all ACL policy, this enables a remote unauthenticated attacker to craft a request that executes arbitrary script in the operator's browser. The script runs with the vttablet debug origin and can access same-origin diagnostic endpoints exposing query, transaction, environment, variable, or profiling data. This vulnerability is addressed in Vitess versions 23.0.5 and 24.0.2.

Potential Impact

An unauthenticated remote attacker can execute arbitrary scripts in the browser of an operator who opens a maliciously crafted request to the /twopcz debug endpoint. This script executes with the debug origin and can access sensitive diagnostic data such as queries, transactions, environment variables, and profiling information. The CVSS score is 9.8 (critical), indicating high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade Vitess to version 23.0.5 or later, or to version 24.0.2 or later, where this vulnerability is fixed. No other mitigation is indicated or required according to the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-01T19:04:39.706Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ace8bb12cdf04f656a4754c

Added to database: 10/13/2026, 19:51:13 UTC

Last enriched: 10/13/2026, 20:03:15 UTC

Last updated: 10/13/2026, 20:08:19 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses