# CVE-2025-45286: Reflected XSS in go-httpbin due to unrestricted client control over Content-Type

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-21T22:29:47.000Z
- Modified: 2026-11-04T22:10:00.210Z
- Also known as: GHSA-528q-4pgm-wvg2, GO-2025-3554
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/mccutchen/go-httpbin (Go): before 2.18.0; all versions
- github.com/mccutchen/go-httpbin/v2 (Go): before 2.18.0
- httpbingo go-httpbin: before 2.18.0

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U`

## References

- <https://github.com/mccutchen/go-httpbin/security/advisories/GHSA-528q-4pgm-wvg2> (exploit, advisory, vendor-advisory, web)
- <https://github.com/advisories/GHSA-528q-4pgm-wvg2> (patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-45286> (advisory)
- <https://github.com/mccutchen/go-httpbin/commit/0decfd1a2e88d85ca6bfb8a92421653f647cbc04> (fix, web)
- <https://github.com/mccutchen/go-httpbin> (package)
- <https://github.com/mccutchen/go-httpbin/releases/tag/v2.18.0> (web)

## Sources

- CVE List: [CVE-2025-45286](https://www.cve.org/CVERecord?id=CVE-2025-45286), CVE Terms of Use, modified 2026-01-06
- GitHub Advisory Database: [GHSA-528q-4pgm-wvg2](https://github.com/advisories/GHSA-528q-4pgm-wvg2), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2025-3554](https://pkg.go.dev/vuln/GO-2025-3554), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-45286](https://nvd.nist.gov/vuln/detail/CVE-2025-45286), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2025-45286 · Whole record: https://cve.day/CVE-2025-45286.json · Rebuilt by cve.day 2026-11-25T22:59:10.148Z
