Vulnerabilities in pkg:golang/github.com/stefanprodan/podinfo
PACKAGECVE-2026-43644 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting podinfo libraries in the Go ecosystem. The issue involves cross-site scripting vulnerability in the /echo and /api/echo endpoints. Remediation is available by upgrading affected packages to version 1.8.1-0.20260519111337-cbebb20fd485.
pkg:golang/github.com/stefanprodan/podinfo
Vulnerability advisories affecting package pkg:golang/github.com/stefanprodan/podinfo. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-q23m-vm9r-5745 | CVE-2026-43644 | MODERATE | podinfo: cross-site scripting vulnerability in the /echo and /api/echo endpoints |
| GHSA-mw8w-q3f7-2v85 | CVE-2025-70849 | LOW | Podinfo affected by Arbitrary File Upload that leads to Stored Cross-Site Scripting (XSS) |
CVE-2026-43644 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N).
How to Fix CVE-2026-43644
To remediate this vulnerability, upgrade all affected podinfo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/stefanprodan/podinfo to 1.8.1-0.20260519111337-cbebb20fd485
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/stefanprodan/podinfo
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-43644, inspect your project dependencies for podinfo:
inspect dependencies for github.com/stefanprodan/podinfo
Analyze the terminal output to locate any version of podinfo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.8.1-0.20260519111337-cbebb20fd485), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In podinfo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-43644 Affected podinfo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/stefanprodan/podinfo
|
Go |
< 1.8.1-0.20260519111337-cbebb20fd485
|
1.8.1-0.20260519111337-cbebb20fd485
|
References
Frequently Asked Questions
What is CVE-2026-43644?
Which podinfo versions are affected?
What version fixes CVE-2026-43644?
Is github.com/stefanprodan/podinfo affected?
What is the CVSS score of CVE-2026-43644?
What CWE is associated with CVE-2026-43644?
How can I check Go dependencies for CVE-2026-43644?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q23m-vm9r-5745",
"modified" : "2026-05-20T15:48:00Z",
"published" : "2026-05-14T15:31:58Z",
"aliases" : [ "CVE-2026-43644" ],
"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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/stefanprodan/podinfo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.8.1-0.20260519111337-cbebb20fd485"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-43644"
}, {
"type" : "WEB",
"url" : "https://github.com/stefanprodan/podinfo/issues/474"
}, {
"type" : "WEB",
"url" : "https://github.com/stefanprodan/podinfo/pull/480"
}, {
"type" : "WEB",
"url" : "https://github.com/stefanprodan/podinfo/commit/cbebb20fd48588d36fc7ff3e874c128eb89692f4"
}, {
"type" : "WEB",
"url" : "https://github.com/Niccolo10/Security-Advisories/blob/main/CVE-2026-43644/cve-2026-43644.md"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/stefanprodan/podinfo"
}, {
"type" : "WEB",
"url" : "https://github.com/stefanprodan/podinfo/releases/tag/6.12.0"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/podinfo-reflected-xss-via-echo-endpoint"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-20T15:48:00Z",
"nvd_published_at" : "2026-05-14T13:16:18Z"
}
}