GHSA-q23m-vm9r-5745

Suggest an improvement
Source
https://github.com/advisories/GHSA-q23m-vm9r-5745
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-q23m-vm9r-5745/GHSA-q23m-vm9r-5745.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q23m-vm9r-5745
Aliases
  • CVE-2026-43644
Published
2026-05-14T15:31:58Z
Modified
2026-05-20T16:00:46.684234811Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-20T15:48:00Z",
    "nvd_published_at": "2026-05-14T13:16:18Z",
    "severity": "MODERATE"
}
References

Affected packages

Go / github.com/stefanprodan/podinfo

Package

Name
github.com/stefanprodan/podinfo
View open source insights on deps.dev
Purl
pkg:golang/github.com/stefanprodan/podinfo

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.1-0.20260519111337-cbebb20fd485

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-q23m-vm9r-5745/GHSA-q23m-vm9r-5745.json"