Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mccutchen/go-httpbin/v2
  4. ›
  5. GHSA-p4f6-h8jj-vfvf

GHSA-p4f6-h8jj-vfvf: Duplicate Advisory: Reflected XSS in go-httpbin due to unrestricted client control over Content-Type

January 2, 2026

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-528q-4pgm-wvg2. This link is maintained to preserve external references.

Original Description

A cross-site scripting (XSS) vulnerability in mccutchen httpbin v2.17.1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload.

References

  • github.com/advisories/GHSA-528q-4pgm-wvg2
  • github.com/advisories/GHSA-p4f6-h8jj-vfvf
  • github.com/mccutchen/go-httpbin/security/advisories/GHSA-528q-4pgm-wvg2
  • nvd.nist.gov/vuln/detail/CVE-2025-45286

Code Behaviors & Features

Detect and mitigate GHSA-p4f6-h8jj-vfvf 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 2.18.0

Fixed versions

  • 2.18.0

Solution

Upgrade to version 2.18.0 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/mccutchen/go-httpbin/v2/GHSA-p4f6-h8jj-vfvf.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 04 Feb 2026 00:35:26 +0000.