Advisory

GHSA-q23m-vm9r-5745

Also known as: CVE-2026-43644, GO-2026-5560

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-14 15:31 UTC
Modified
2026-06-25 23:11 UTC

Affected packages and fixes

github.com/stefanprodan/podinfo

Go · All systems

Affected

  • introduced 0, fixed 1.8.1-0.20260519111337-cbebb20fd485 (semver)

Fixed versions

1.8.1-0.20260519111337-cbebb20fd485

Fix

  • Fixed version 1.8.1-0.20260519111337-cbebb20fd485
    go get github.com/stefanprodan/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences