# CVE-2024-53257: GO-2024-3306 - Vitess allows HTML injection in /debug/querylogz and /debug/env in vitess.io/vitess

Source: https://junglewise.ai/threats/cve-2024-53257-vitess-allows-html-injection-in-debug-querylogz-debug-env  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-12  
License: CC BY 4.0 with a link back

CVE-2024-53257 · Severity: low · CVSS 3.1 · Published 2024-12-12

Vitess allows HTML injection in /debug/querylogz and /debug/env in vitess.io/vitess

Technologies: [vitess.io/vitess (Go)](https://junglewise.ai/threats/technologies/vitess-io-vitess). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-53257 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-53257 being exploited in the wild.

**How severe is CVE-2024-53257?** Low severity, with a CVSS score of 3.1, published 12 December 2024.

**Which products and versions are affected?** vitess.io/vitess (Go) SEMVER:introduced=0,fixed=0.19.8,introduced=0.20.0,fixed=0.20.4,introduced=0.21.0,fixed=0.21.1, SEMVER:introduced=0.21.0-rc1,fixed=0.21.1.

**Is there a fix for CVE-2024-53257?** Yes. vitess.io/vitess (Go): upgrade to 0.21.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-53257?** Check whether you run vitess.io/vitess (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- vitess.io/vitess (Go): upgrade to 0.21.1 or later

  ```sh
  go get vitess.io/vitess@v0.21.1
  ```


## Affected products

- vitess.io/vitess (Go) SEMVER:introduced=0,fixed=0.19.8,introduced=0.20.0,fixed=0.20.4,introduced=0.21.0,fixed=0.21.1, SEMVER:introduced=0.21.0-rc1,fixed=0.21.1

## Identifiers

- CVE-2024-53257
- GHSA-7mwh-q3xm-qh6p
- GO-2024-3306

## Related threats

- [Vitess vttablet /twopcz reflected XSS](https://junglewise.ai/threats/cve-2026-104252-vitess-vttablet-twopcz-reflected-xss)
- [Vitess vttablet missing authorization in /debug/vrlog endpoint](https://junglewise.ai/threats/cve-2026-65959-vitess-vttablet-missing-authorization-in-debug-vrlog-endpoint)
- [GO-2026-4570 - Vitess users with backup storage access can write to arbitrary file paths in vitess.io/vitess](https://junglewise.ai/threats/cve-2026-27969-vitess-users-with-backup-storage-access-can-write-to-arbitrary)
- [GO-2026-4567 - Vitess users can gain unauthorized access to production deployment environments in vitess.io/vitess](https://junglewise.ai/threats/cve-2026-27965-vitess-users-with-backup-storage-access-can-gain-unauthorized)
- [GO-2024-2826 - Denial of service attack by triggering unbounded memory usage in vitess.io/vitess](https://junglewise.ai/threats/cve-2024-32886-vitess-vulnerable-to-infinite-memory-consumption-and-vtgate-crash)
