CVE-2024-53257
MEDIUM 4.9CVSS 3.1Vitess allows HTML injection in /debug/querylogz & /debug/env
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.
- Published
- 3 Dec 2024
- Last modified
- 7 Aug 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-7mwh-q3xm-qh6pGO-2024-3306
- Sources
- NVDJSONOSV GHSA-7mwh-q3xm-qh6pJSONOSV GO-2024-3306JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | vitess.io/vitess | >= 0.21.0-rc1, < 0.21.1 | 0.21.1 |
| OSV | Go | vitess.io/vitess | >= 0.20.0-rc1, < 0.20.4 | 0.20.4 |
| OSV | Go | vitess.io/vitess | < 0.19.8 | 0.19.8 |
| OSV | Go | vitess.io/vitess | < 0.19.8; >= 0.20.0, < 0.20.4; >= 0.21.0, < 0.21.1 | 0.19.8, 0.20.4, 0.21.1 |
References
- https://github.com/vitessio/vitess/commit/2b71d1b5f8ca676beeab2875525003cd45096217 · WEB, FIX
- https://github.com/vitessio/vitess/security/advisories/GHSA-7mwh-q3xm-qh6p · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-53257 · ADVISORY
- https://github.com/vitessio/vitess · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 3 Dec 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Dec 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Dec 2024)