{"id":"CVE-2024-53257","published":"2024-12-03T15:46:40Z","modified":"2024-12-03T16:57:59Z","title":"Vitess allows HTML injection in /debug/querylogz & /debug/env","vendor":"vitessio","product":"vitess","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00658,"percentile":0.46302,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/vitessio/vitess/security/advisories/GHSA-7mwh-q3xm-qh6p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vitessio/vitess/commit/2b71d1b5f8ca676beeab2875525003cd45096217","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":9.26},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"vitessio","affectedVersions":[{"vendor":"vitessio","product":"vitess","versions":[">= 0.21.0-rc1, < 21.0.1",">= 0.20.0-rc1, < 20.0.4","< 19.0.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-03T16:53:09.581215Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"vitess.io/vitess","vulnerableRanges":[">=0.21.0-rc1, <0.21.1",">=0.20.0-rc1, <0.20.4","<0.19.8",">=0.20.0, <0.20.4",">=0.21.0, <0.21.1"],"patched":["0.21.1","0.20.4","0.19.8"],"from":["GHSA-7mwh-q3xm-qh6p","GO-2024-3306"],"provenance":"source"}],"summary":{"text":"Vitess, a database clustering system for horizontally scaling MySQL, has an HTML injection flaw in the /debug/querylogz and /debug/env monitoring pages of its vtgate and vttablet components, where user input is not properly escaped because the pages are rendered with text/template rather than an HTML templating engine. An attacker who holds high-privilege authentication can cause queries executed by Vitess to write arbitrary HTML into these pages over the network, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:47Z"},"euvd":{"id":"EUVD-2024-3445","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-29194","published":"2023-04-14","fixed":"0.16.1","kev":false},{"cve":"CVE-2023-29195","published":"2023-05-11","fixed":"0.16.2","kev":false},{"cve":"CVE-2024-32886","published":"2024-05-08","fixed":"0.19.4","kev":false,"link":{"from":"CVE-2024-32886","to":"CVE-2024-53257","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:vitess.io/vitess","fromFixed":"0.19.4","toFixed":"0.19.8","daysApart":209}]}},{"cve":"CVE-2024-53257","published":"2024-12-03","fixed":"0.21.1","kev":false},{"cve":"CVE-2026-27965","published":"2026-02-26","fixed":"0.23.3","kev":false},{"cve":"CVE-2026-27969","published":"2026-02-26","fixed":"0.23.3","kev":false},{"cve":"CVE-2026-104252","published":"2026-10-13","fixed":"0.24.2","kev":false}],"package":"Go:vitess.io/vitess"}}