GitHub Advisoryadvisory · Go

GHSA-q23m-vm9r-5745 podinfo: cross-site scripting vulnerability in the /echo and /api/echo endpoints

MEDIUM Published 2026-05-14 Modified 2026-05-20 Official page ↗
Aliases
CVE-2026-43644
Ecosystem
Go
Packages
github.com/stefanprodan/podinfo
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2026-05-20

Affected packages

• Go github.com/stefanprodan/podinfo: < 1.8.1-0.20260519111337-cbebb20fd485 → fixed in 1.8.1-0.20260519111337-cbebb20fd485

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.

Related

Alias · CVE (1)

  • CVE-2026-43644 podinfo through 6.11.2 contains a reflected cross-site scripting vulnerability in the /echo and /api/echo endpoints where the echoHandler… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References