{"id":"GO-2024-3306","revision":null,"records":[{"revision":"ea90adaf532241629b3e78b94dc413b3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-53257","aliases":[],"title":"Vitess allows HTML injection in /debug/querylogz & /debug/env","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.","state":0,"publishedAt":"2024-12-03T15:46:40.513+00:00","modifiedAt":"2024-12-03T16:57:59.604+00:00","affected":[{"ecosystem":"Vendor product","name":"vitess","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"vitessio\",\n                    \"product\": \"vitess\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 0.21.0-rc1, < 21.0.1\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 0.20.0-rc1, < 20.0.4\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"< 19.0.8\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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,"severity":"MEDIUM"}],"references":["https://github.com/vitessio/vitess/security/advisories/GHSA-7mwh-q3xm-qh6p","https://github.com/vitessio/vitess/commit/2b71d1b5f8ca676beeab2875525003cd45096217"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-53257","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-53257","identifiers":["CVE-2024-53257"]},"retained":false,"historicalAffected":[]},{"revision":"1a2a26a1e3554a3685bac2f213a02f64","observedAt":"2026-11-21T04:49:13.05+00:00","statement":{"source":"euvd","id":"EUVD-2024-3445","aliases":["CVE-2024-53257","GHSA-7mwh-q3xm-qh6p"],"title":"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 t…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 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,"severity":null}],"references":["https://github.com/vitessio/vitess/security/advisories/GHSA-7mwh-q3xm-qh6p","https://github.com/vitessio/vitess/commit/2b71d1b5f8ca676beeab2875525003cd45096217"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-3445","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Dec 3, 2024, 3:46:40 PM","dateUpdated":"Dec 3, 2024, 4:57:59 PM"},"relatedAdvisories":[{"id":"msrc_CVE-2024-53257","title":"Vitess allows HTML injection in /debug/querylogz & /debug/env","vulnerabilityIds":["CVE-2024-53257"]},{"id":"openSUSE-SU-2024:14599-1","title":"govulncheck-vulndb-0.0.20241213T205935-1.1 on GA media","vulnerabilityIds":["CVE-2020-10696","CVE-2020-8912","CVE-2022-31668","CVE-2023-26248","CVE-2023-3676","CVE-2023-3955","CVE-2024-12401","CVE-2024-37032","CVE-2024-44337","CVE-2024-45039","CVE-2024-45337","CVE-2024-45436","CVE-2024-46455","CVE-2024-46528","CVE-2024-53257","CVE-2024-53859","CVE-2024-55601","CVE-2024-55657","CVE-2024-55658","CVE-2024-55659","CVE-2024-55660"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-3445","identifiers":["EUVD-2024-3445","CVE-2024-53257","GHSA-7mwh-q3xm-qh6p"]},"retained":false,"historicalAffected":[]},{"revision":"7445322242d84ed598ee7130581d9853","observedAt":"2026-10-25T01:17:12.119+00:00","statement":{"source":"nvd","id":"CVE-2024-53257","aliases":[],"title":"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 t…","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.","state":0,"publishedAt":"2024-12-03T16:15:23.693+00:00","modifiedAt":"2026-06-17T08:08:42.213+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.9,"severity":"MEDIUM"}],"references":["https://github.com/vitessio/vitess/commit/2b71d1b5f8ca676beeab2875525003cd45096217","https://github.com/vitessio/vitess/security/advisories/GHSA-7mwh-q3xm-qh6p"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-53257","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-79"],"productCriteria":[],"sourceDates":{"published":"2024-12-03T16:15:23.693","lastModified":"2026-06-17T08:08:42.213"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-53257","identifiers":["CVE-2024-53257"]},"retained":false,"historicalAffected":[]},{"revision":"a321eb36c1274ad6a5fab420401a361b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-7mwh-q3xm-qh6p","aliases":["CVE-2024-53257","GO-2024-3306"],"title":"Vitess allows HTML injection in /debug/querylogz & /debug/env","description":"### Summary\n\nThe `/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.\n\n### Details\n\nThese pages are rendered using `text/template` instead of rendering with a proper HTML templating engine.\n\n### PoC\n\nExecute any query where part of it is HTML markup, for example as part of a string. To make it easier to observe you might want to make sure the query takes a few seconds to complete, giving you time to refresh the status page. \n\nExample query that can trigger the issue:\n\n```sql\nUPDATE users\nSET\n    email = CONCAT(\"<img src=https://cataas.com/cat/says/oops>\", users.idUser, \"@xxx\")\nWHERE\n    email NOT LIKE '%xxx%' AND email != \"demo@xxx.com\"\n```\n\nResult: \n\n![image](https://github.com/user-attachments/assets/c583816b-157c-474e-bbed-152b3dc0372f)\n\n### Impact\n\nAnyone looking at the Vitess status page is affected. This would normally be owners / administrators of the Vitess cluster.\n\nAnyone that can influence what text show up in queries can trigger it. This would normally be pretty much everybody interacting with a system that uses Vitess as a backend.","state":0,"publishedAt":"2024-12-03T18:43:33+00:00","modifiedAt":"2026-08-07T08:12:23.0405099+00:00","affected":[{"ecosystem":"Go","name":"vitess.io/vitess","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.21.0-rc1"},{"kind":"fixed","version":"0.21.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"vitess.io/vitess","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.20.0-rc1"},{"kind":"fixed","version":"0.20.4"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"vitess.io/vitess","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.19.8"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/vitessio/vitess/security/advisories/GHSA-7mwh-q3xm-qh6p","https://nvd.nist.gov/vuln/detail/CVE-2024-53257","https://github.com/vitessio/vitess/commit/2b71d1b5f8ca676beeab2875525003cd45096217","https://github.com/vitessio/vitess"],"sourceUrl":"https://github.com/advisories/GHSA-7mwh-q3xm-qh6p","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7mwh-q3xm-qh6p","identifiers":["GHSA-7mwh-q3xm-qh6p","CVE-2024-53257","GO-2024-3306"]},"retained":false,"historicalAffected":[]},{"revision":"823059abe36142c99ea59218199db4ad","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-3306","aliases":["CVE-2024-53257","GHSA-7mwh-q3xm-qh6p"],"title":"Vitess allows HTML injection in /debug/querylogz and /debug/env in vitess.io/vitess","description":"Vitess allows HTML injection in /debug/querylogz and /debug/env in vitess.io/vitess","state":0,"publishedAt":"2024-12-12T22:00:01+00:00","modifiedAt":"2026-08-07T08:12:28.3182706+00:00","affected":[{"ecosystem":"Go","name":"vitess.io/vitess","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.19.8"},{"kind":"introduced","version":"0.20.0"},{"kind":"fixed","version":"0.20.4"},{"kind":"introduced","version":"0.21.0"},{"kind":"fixed","version":"0.21.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/vitessio/vitess/security/advisories/GHSA-7mwh-q3xm-qh6p","https://github.com/vitessio/vitess/commit/2b71d1b5f8ca676beeab2875525003cd45096217"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-3306","license":"OSV · upstream source license applies","key":"osv:GO-2024-3306","identifiers":["GO-2024-3306","CVE-2024-53257","GHSA-7mwh-q3xm-qh6p"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-22T16:25:55.0701968+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-22T16:25:55.0701968+00:00","lastSuccessAt":"2026-11-22T16:25:55.2486505+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:55.2486514+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-a00cc431548e20f01f2da20f449eca4a9c3c2d80f0a99ee8150099224d339982-f889044d5952ca2c043a3f79edce0c851043d7aa07652c964a93712ef2aae335","complete":true,"records":430476,"lastAttemptAt":"2026-11-22T16:25:40.279669+00:00","lastSuccessAt":"2026-11-22T16:25:40.2330056+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:40.279669+00:00","snapshotPublishedAt":"2026-11-22T16:24:23+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-82e2c24a4f614937853e600b1d5b95b9","complete":false,"records":13928,"lastAttemptAt":"2026-11-22T16:28:09.6714324+00:00","lastSuccessAt":"2026-11-22T16:28:09.667+00:00","error":"31 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-22T16:28:09.667+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13944,"expectedIdentifiers":13976,"failedIdentifiers":31},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-22T16:25:55.0701968+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-22T16:25:55.0701968+00:00","lastSuccessAt":"2026-11-22T16:25:55.2495262+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:55.2495265+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b418bc3a0a804db68d2746e614753140","complete":false,"records":13940,"lastAttemptAt":"2026-11-22T16:26:20.8835169+00:00","lastSuccessAt":"2026-11-22T16:26:20.879+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:26:20.879+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13975,"expectedIdentifiers":13976,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-22T16:25:54.9004528+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:54.9004528+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-22T16:25:40.4282716+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:40.4282716+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-bee95050556198fd967bb73ce720a9ae414cd84a3b278a529e0def1a55b70f2d","complete":true,"records":3214,"lastAttemptAt":"2026-11-22T16:25:55.0134385+00:00","lastSuccessAt":"2026-11-22T11:25:37.2279658+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:55.0134385+00:00","snapshotPublishedAt":"2026-11-22T10:03:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-93f8bde17692d302a32a561f6a40a941db24e5e5c3d8083eda975620fb7a4483","complete":true,"records":232857,"lastAttemptAt":"2026-11-22T16:25:40.5269788+00:00","lastSuccessAt":"2026-11-22T08:27:07.8116265+00:00","error":null,"lastVerifiedAt":"2026-11-22T16:25:40.5269788+00:00","snapshotPublishedAt":"2026-11-22T07:33:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}