Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/stefanprodan/podinfo
  4. ›
  5. CVE-2026-43644

CVE-2026-43644: podinfo: cross-site scripting vulnerability in the /echo and /api/echo endpoints

May 14, 2026 (updated May 20, 2026)

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.

References

  • github.com/Niccolo10/Security-Advisories/blob/main/CVE-2026-43644/cve-2026-43644.md
  • github.com/advisories/GHSA-q23m-vm9r-5745
  • github.com/stefanprodan/podinfo/commit/cbebb20fd48588d36fc7ff3e874c128eb89692f4
  • github.com/stefanprodan/podinfo/issues/474
  • github.com/stefanprodan/podinfo/pull/480
  • github.com/stefanprodan/podinfo/releases/tag/6.12.0
  • nvd.nist.gov/vuln/detail/CVE-2026-43644
  • www.vulncheck.com/advisories/podinfo-reflected-xss-via-echo-endpoint

Code Behaviors & Features

Detect and mitigate CVE-2026-43644 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.1-0.20260519111337-cbebb20fd485

Fixed versions

  • 1.8.1-0.20260519111337-cbebb20fd485

Solution

Upgrade to version 1.8.1-0.20260519111337-cbebb20fd485 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/stefanprodan/podinfo/CVE-2026-43644.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:18 +0000.