{"id":"GHSA-q23m-vm9r-5745","summary":"podinfo: cross-site scripting vulnerability in the /echo and /api/echo endpoints","details":"podinfo through 6.11.2 contains a reflected cross-site scripting vulnerability in the /echo and /api/echo endpoints where the echoHandler writes request body content directly to the response without setting explicit Content-Type or X-Content-Type-Options headers. Attackers can craft cross-origin HTML pages with auto-submitting forms containing script payloads in the request body, which are served as text/html due to Go's content type detection, allowing the reflected script to execute in the podinfo origin context when victims visit the attacker's page.","aliases":["CVE-2026-43644","GO-2026-5560"],"modified":"2026-06-25T23:11:30.815538782Z","published":"2026-05-14T15:31:58Z","database_specific":{"nvd_published_at":"2026-05-14T13:16:18Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-05-20T15:48:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43644"},{"type":"WEB","url":"https://github.com/stefanprodan/podinfo/issues/474"},{"type":"WEB","url":"https://github.com/stefanprodan/podinfo/pull/480"},{"type":"WEB","url":"https://github.com/stefanprodan/podinfo/commit/cbebb20fd48588d36fc7ff3e874c128eb89692f4"},{"type":"WEB","url":"https://github.com/Niccolo10/Security-Advisories/blob/main/CVE-2026-43644/cve-2026-43644.md"},{"type":"PACKAGE","url":"https://github.com/stefanprodan/podinfo"},{"type":"WEB","url":"https://github.com/stefanprodan/podinfo/releases/tag/6.12.0"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/podinfo-reflected-xss-via-echo-endpoint"}],"affected":[{"package":{"name":"github.com/stefanprodan/podinfo","ecosystem":"Go","purl":"pkg:golang/github.com/stefanprodan/podinfo"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.8.1-0.20260519111337-cbebb20fd485"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-q23m-vm9r-5745/GHSA-q23m-vm9r-5745.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}