CVE-2025-45286
MEDIUM 6.1CVSS 3.1Reflected XSS in go-httpbin due to unrestricted client control over Content-Type
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.
- Published
- 2 Jan 2026
- Last modified
- 4 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-79CWE-80
- Also known as
- GHSA-528q-4pgm-wvg2GO-2025-3554
- Sources
- NVDJSONOSV GHSA-528q-4pgm-wvg2JSONOSV GO-2025-3554JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | httpbingo | go-httpbincpe:2.3:a:httpbingo:go-httpbin:*:*:*:*:*:go:*:* |
< 2.18.0 | 2.18.0 |
| OSV | Go | github.com/mccutchen/go-httpbin | < 2.18.0 | 2.18.0 |
| OSV | Go | github.com/mccutchen/go-httpbin/v2 | < 2.18.0 | 2.18.0 |
| OSV | Go | github.com/mccutchen/go-httpbin | all versions |
References
- https://github.com/advisories/GHSA-528q-4pgm-wvg2 · Patch, Third Party Advisory
- https://github.com/mccutchen/go-httpbin/security/advisories/GHSA-528q-4pgm-wvg2 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-45286 · ADVISORY
- https://github.com/mccutchen/go-httpbin/commit/0decfd1a2e88d85ca6bfb8a92421653f647cbc04 · WEB, FIX
- https://github.com/mccutchen/go-httpbin · PACKAGE
- https://github.com/mccutchen/go-httpbin/releases/tag/v2.18.0 · WEB
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 2 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Mar 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Mar 2025)