
Find real vulnerabilities before they ship
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.
Base Score
5.4| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| github.com/stefanprodan/podinfo(Go) | 0 | 1.8.1-0.20260519111337-cbebb20fd485 | N/A |
| Base Score | 5.1 |
|---|---|
| Vector String | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Base Severity | Medium |
| Version | 4.0 |
| Attack Vector (AV) | NETWORK |