CVE-2024-53257

Vitess allows HTML injection in /debug/querylogz & /debug/env

State
Published
Severity
4.9 Medium
Published
Dec 3, 2024
Updated
Dec 3, 2024
Reserved
Nov 19, 2024

Read the record on cve.org

Description

Vitess is a database clustering system for horizontal scaling of MySQL. 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. These pages are rendered using text/template instead of rendering with a proper HTML templating engine. This vulnerability is fixed in 21.0.1, 20.0.4, and 19.0.8.

Scores

CVSSScoreVectorSource
3.14.9 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:NGitHub_M

Weaknesses

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

Affected Products

ProductVersions
vitessvitessio
  • >= 0.21.0-rc1, < 21.0.1Affected
  • >= 0.20.0-rc1, < 20.0.4Affected
  • < 19.0.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.