Vitess allows HTML injection in /debug/querylogz & /debug/env
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| backstage | vitess | 0.21.0-rc1 to before 21.0.1; 0.20.0-rc1 to before 20.0.4; before 19.0.8 | 21.0.1, 20.0.4, 19.0.8 | Patch available | CNA |
| — | vitess.io/vitess (Go) | 0.21.0-rc1 to before 0.21.1 | 0.21.1 | Patch available | GHSA-7mwh-q3xm-qh6p |
| — | vitess.io/vitess (Go) | 0.20.0-rc1 to before 0.20.4 | 0.20.4 | Patch available | GHSA-7mwh-q3xm-qh6p |
| — | vitess.io/vitess (Go) | before 0.19.8 | 0.19.8 | Patch available | GHSA-7mwh-q3xm-qh6p |
- vitess Vendorbackstage Affected 0.21.0-rc1 to before 21.0.1; 0.20.0-rc1 to before 20.0.4; before 19.0.8 Fixed in 21.0.1, 20.0.4, 19.0.8 Patch available CNA
- vitess.io/vitess (Go) Vendor— Affected 0.21.0-rc1 to before 0.21.1 Fixed in 0.21.1 Patch available GHSA-7mwh-q3xm-qh6p
- vitess.io/vitess (Go) Vendor— Affected 0.20.0-rc1 to before 0.20.4 Fixed in 0.20.4 Patch available GHSA-7mwh-q3xm-qh6p
- vitess.io/vitess (Go) Vendor— Affected before 0.19.8 Fixed in 0.19.8 Patch available GHSA-7mwh-q3xm-qh6p
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vitessio:vitess:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:vitessio:vitess:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
- Fix · CNA vitess (vitessio) Fixed in 21.0.1, 20.0.4, 19.0.8
- Fix · GHSA-7mwh-q3xm-qh6p vitess.io/vitess (Go) Fixed in 0.21.1 Advisory →
- Fix · GHSA-7mwh-q3xm-qh6p vitess.io/vitess (Go) Fixed in 0.20.4 Advisory →
- Fix · GHSA-7mwh-q3xm-qh6p vitess.io/vitess (Go) Fixed in 0.19.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-53257
- 2026-10-03 Alias added: GHSA-7mwh-q3xm-qh6p
References
More backstage vulnerabilities
- TI-2026-33119 Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys KEVCVSS 3.1CRITICAL 9.6
- TI-2018-10499 Integer overflow in backstage kernel KEVCVSS 3.0HIGH 7.8
- TI-2024-08998 Remote Code Execution in kedro-org/kedro CVSS 3.0CRITICAL 9.8
- TI-2023-12294 Dragonfly2 vulnerable to hard coded cyptographic key CVSS 3.1CRITICAL 9.8
- TI-2021-12074 Authentication vulnerability in MOSN v.0.23.0 allows attacker to escalate privileges via… CVSS 3.1CRITICAL 9.8
- TI-2019-04061 runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows… CVSS 3.1HIGH 8.6
Sources
- CVE-2024-53257 · CVE Program
- CVE-2024-53257 · NVD
- FIRST EPSS
- GHSA-7mwh-q3xm-qh6p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences