<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Vttablet (&lt; 0.23.5, &gt;= 0.24.0, &lt; 0.24.2) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/vttablet--0.23.5--0.24.0--0.24.2/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 15 Oct 2026 22:23:17 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/vttablet--0.23.5--0.24.0--0.24.2/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Reflected XSS Vulnerability in Vitess vttablet twopczHandler</title><link>https://feed.craftedsignal.io/briefs/2026-10-vitess-xss/</link><pubDate>Thu, 15 Oct 2026 22:23:17 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-vitess-xss/</guid><description>An unauthenticated reflected XSS vulnerability (CVE-2026-104252) in the Vitess vttablet twopczHandler allows attackers to execute arbitrary JavaScript in the context of an operator's session, potentially exposing sensitive debug information.</description><content:encoded><![CDATA[<p>The Vitess <code>vttablet</code> component is vulnerable to reflected Cross-Site Scripting (XSS) due to improper input sanitization in the <code>twopczHandler</code> located in <code>go/vt/vttablet/tabletserver/twopcz.go</code>. The handler incorrectly reflects user-controlled <code>Action</code> and <code>dtid</code> form values directly into the HTML response body without HTML escaping. Because the endpoint serves responses as <code>text/html</code> and utilizes an 'allow-all' default access control policy, unauthenticated attackers can trigger this vulnerability by tricking an authenticated operator into visiting a specially crafted URL.</p>
<p>Successful exploitation allows for the execution of arbitrary JavaScript within the operator's browser session. Given the same-origin nature of the attack, the script can access sensitive unauthenticated debug endpoints such as <code>/queryz</code>, <code>/querylogz</code>, <code>/debug/env</code>, and <code>/debug/vars</code>, which may contain query plans, transactional data, MySQL credentials, and topology information. The vulnerability affects all released versions of Vitess prior to the inclusion of the fix (merged into the <code>main</code> branch on 2026-06-09).</p>
<h2 id="impact">Impact</h2>
<p>The vulnerability is categorized as high severity (CVSS 7.7) because it allows for the exfiltration of sensitive configuration data and database credentials. While the vulnerability does not directly disrupt service, the exposure of environment variables via <code>/debug/env</code> could lead to full database compromise or secondary service disruptions if credentials are rotated or exploited offline.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Implement network-level restrictions to ensure the vttablet HTTP port (default 15999) is not exposed to untrusted networks or the public internet.</li>
<li>Override the default Vitess 'allow-all' ACL policy to require authentication for debug endpoints and the <code>/twopcz</code> handler.</li>
<li>Deploy a web application firewall (WAF) or reverse proxy in front of vttablet instances to sanitize incoming requests and block URLs containing suspicious patterns associated with XSS payloads (e.g., <code>&lt;script&gt;</code>, <code>onerror</code>, <code>onload</code>).</li>
<li>Prioritize upgrading Vitess once patch releases addressing CVE-2026-104252 are available for your respective version branch.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>xss</category><category>web-vulnerability</category><category>vitess</category><category>cve-2026-104252</category></item></channel></rss>