CVE-2026-43644 Details
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.
A reflected cross-site scripting vulnerability has been identified in podinfo versions through 6.11.2. The issue resides in the '/echo' and '/api/echo' endpoints, where the 'echoHandler' function writes the request body content directly to the response without including explicit 'Content-Type' or 'X-Content-Type-Options' headers. This oversight allows attackers to create cross-origin HTML pages with auto-submitting forms that contain script payloads in the request body. When these payloads are reflected back as 'text/html' due to Go's content type detection, the scripts execute in the context of the podinfo origin when victims visit the attacker's page.
To address this vulnerability, set an explicit non-HTML 'Content-Type' header, add 'X-Content-Type-Options: nosniff', and implement a restrictive 'Content-Security-Policy' before writing the echoed body. After applying this patch, the '/echo' and '/api/echo' endpoints will no longer render responses as HTML, effectively mitigating the cross-site scripting risk.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Niccolo10/Security-Advisories/blob/main/CVE-2026-43644/cve-2026-43644.md | [email protected] | ExploitMitigationThird Party Advisory |
| https://github.com/stefanprodan/podinfo/issues/474 | [email protected] | Issue Tracking |
| https://www.vulncheck.com/advisories/podinfo-reflected-xss-via-echo-endpoint | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| stefanprodan podinfo | <= 6.11.12 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 1, 2026 | Initial Analysis | [email protected] |
| May 14, 2026 | New CVE Received | [email protected] |