5.1medium
podinfo 6.11.2 Reflected XSS via /echo Endpoint
- Severity
- 5.1medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-q23m-vm9r-5745GO-2026-5560
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| stefanprodan podinfo | up to 6.11.2, up to 6.11.12 | CVE List, NVD |
| github.com/stefanprodan/podinfo (Go) | before 1.8.1-0.20260519111337-cbebb20fd485 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| VulnCheck | 5.1medium CVSS:4.0 | 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 |
| VulnCheck | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
Go Vulnerability Database
podinfo: cross-site scripting vulnerability in the /echo and /api/echo endpoints in github.com/stefanprodan/podinfo
NVD (es)
podinfo hasta la versión 6.11.2 contiene una vulnerabilidad de cross-site scripting reflejada en los endpoints /echo y /api/echo donde el echoHandler escribe el contenido del cuerpo de la solicitud directamente a la respuesta sin establecer encabezados Content-Type o X-Content-Type-Options explícitos. Los atacantes pueden crear páginas HTML de origen cruzado con formularios de envío automático que contienen cargas útiles de script en el cuerpo de la solicitud, que se sirven como text/html debido a la detección de tipo de contenido de Go, permitiendo que el script reflejado se ejecute en el contexto de origen de podinfo cuando las víctimas visitan la página del atacante.
References
| https://github.com/Niccolo10/Security-Advisories/blob/main/CVE-2026-43644/cve-2026-43644.md | exploit, mitigation, technical-description, third-party-advisory, web | |
| https://github.com/stefanprodan/podinfo/issues/474 | issue-tracking, report, web | |
| https://www.vulncheck.com/advisories/podinfo-reflected-xss-via-echo-endpoint | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-43644 | advisory | |
| https://github.com/stefanprodan/podinfo/pull/480 | fix, web | |
| https://github.com/stefanprodan/podinfo/commit/cbebb20fd48588d36fc7ff3e874c128eb89692f4 | fix, web | |
| https://github.com/stefanprodan/podinfo | package | |
| https://github.com/stefanprodan/podinfo/releases/tag/6.12.0 | web | |
| https://github.com/advisories/GHSA-q23m-vm9r-5745 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43644 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q23m-vm9r-5745 changed 2026-06-25 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5560 changed 2026-06-25 | CC-BY-4.0 |
| NVD | CVE-2026-43644 changed 2026-10-26 | Public domain |