CVE-2024-53257

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

Published Dec 3, 2024 CVSS 3.1 · 4.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-3445 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.
Github GHSA Github GHSA GHSA-7mwh-q3xm-qh6p Vitess allows HTML injection in /debug/querylogz & /debug/env
History
Type Values Removed Values Added
First Time appeared Vitessio
Vitessio vitess
CPEs cpe:2.3:a:vitessio:vitess:*:*:*:*:*:*:*:*
Vendors & Products Vitessio
Vitessio vitess
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Vitess allows HTML injection in /debug/querylogz & /debug/env
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 3, 2024, 4:57 PM
Reserved
Nov 19, 2024, 8:08 PM
Status
Deferred
Published
Dec 3, 2024, 4:15 PM
Modified
Jun 17, 2026, 8:08 AM