Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. vitess.io/vitess
  4. ›
  5. CVE-2024-53257

CVE-2024-53257: Vitess allows HTML injection in /debug/querylogz & /debug/env

December 3, 2024 (updated December 16, 2024)

The /debug/querylogz and /debug/env pages for vtgate and vttablet do not properly escape user input. The result is that queries executed by Vitess can write HTML into the monitoring page at will.

References

  • github.com/advisories/GHSA-7mwh-q3xm-qh6p
  • github.com/vitessio/vitess
  • github.com/vitessio/vitess/commit/2b71d1b5f8ca676beeab2875525003cd45096217
  • github.com/vitessio/vitess/security/advisories/GHSA-7mwh-q3xm-qh6p
  • nvd.nist.gov/vuln/detail/CVE-2024-53257

Code Behaviors & Features

Detect and mitigate CVE-2024-53257 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.19.8, all versions starting from 0.20.0-rc1 before 0.20.4, all versions starting from 0.21.0-rc1 before 0.21.1

Fixed versions

  • 0.21.1
  • 0.20.4
  • 0.19.8

Solution

Upgrade to versions 0.19.8, 0.20.4, 0.21.1 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/vitess.io/vitess/CVE-2024-53257.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:58 +0000.