{"cve":"CVE-2024-53257","nvd":{"published":"2024-12-03T16:15:23.693","modified":"2026-06-17T08:08:42.213","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.9},"cwes":["CWE-79"],"references":["https://github.com/vitessio/vitess/commit/2b71d1b5f8ca676beeab2875525003cd45096217","https://github.com/vitessio/vitess/security/advisories/GHSA-7mwh-q3xm-qh6p"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:57:36.180738747+00:00"},"epss":{"cve":"CVE-2024-53257","score":0.00439,"percentile":0.38188,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7mwh-q3xm-qh6p","url":"https://osv.dev/vulnerability/GHSA-7mwh-q3xm-qh6p","summary":"Vitess allows HTML injection in /debug/querylogz & /debug/env","modified":"2026-08-07T08:12:23.040509879Z","packages":[{"ecosystem":"Go","name":"vitess.io/vitess","purl":"pkg:golang/vitess.io/vitess","ranges":[">=0.21.0-rc1 <0.21.1"],"fixed":["0.21.1"]},{"ecosystem":"Go","name":"vitess.io/vitess","purl":"pkg:golang/vitess.io/vitess","ranges":[">=0.20.0-rc1 <0.20.4"],"fixed":["0.20.4"]},{"ecosystem":"Go","name":"vitess.io/vitess","purl":"pkg:golang/vitess.io/vitess","ranges":["<0.19.8"],"fixed":["0.19.8"]}]},{"id":"GO-2024-3306","url":"https://osv.dev/vulnerability/GO-2024-3306","summary":"Vitess allows HTML injection in /debug/querylogz and /debug/env in vitess.io/vitess","modified":"2026-08-07T08:12:28.318270605Z","packages":[{"ecosystem":"Go","name":"vitess.io/vitess","purl":"pkg:golang/vitess.io/vitess","ranges":["<0.19.8",">=0.20.0 <0.20.4",">=0.21.0 <0.21.1"],"fixed":["0.19.8","0.20.4","0.21.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}