n/a · cross-site scripting
cve-program · CVE-2025-45286
PublishedA cross-site scripting (XSS) vulnerability in mccutchen httpbin v2.17.1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload.
Read the publisher's advisoryeuvd · EUVD-2025-7205
PublishedA cross-site scripting (XSS) vulnerability in mccutchen httpbin v2.17.1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload.
Read the publisher's advisorynvd · CVE-2025-45286
PublishedA cross-site scripting (XSS) vulnerability in mccutchen httpbin v2.17.1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload.
Read the publisher's advisoryosv · GHSA-528q-4pgm-wvg2
Published### Description The go-httpbin framework is vulnerable to XSS as the user can control the `Response Content-Type` from GET parameter. This allows attacker to execute cross site scripts in victims browser. ### Affected URLs: - `/response-headers?Content-Type=text/html&xss=%3Cimg/src/onerror=alert(%27xss%27)%3E` - `/base64/PGltZy9zcmMvb25lcnJvcj1hbGVydCgneHNzJyk+?content-type=text/html` - `/base64/decode/PGltZy9zcmMvb25lcnJvcj1hbGVydCgneHNzJyk+?content-type=text/html` ### Steps to reproduce: 1. Visit one of the above mentioned URLs. 2. XSS window will popup ### Suggested fix - Allow Only Safe Content-Type Values Or give users option to define whitelisted Content-Type headers ### Criticality The following can be major impacts of the issue: * Access to victim's sensitive Personal Identifiable Information. * Access to CSRF token * Cookie injection * Phishing * And any other thing Javascript can perform
Read the publisher's advisoryosv · GO-2025-3554
PublishedReflected XSS in go-httpbin due to unrestricted client control over Content-Type in github.com/mccutchen/go-httpbin
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-45286 · CVE overview and exploitation status
cve-program · CVE-2025-45286
- https://github.com/mccutchen/go-httpbin/security/advisories/GHSA-528q-4pgm-wvg2
- https://github.com/advisories/GHSA-528q-4pgm-wvg2
euvd · EUVD-2025-7205
- https://github.com/mccutchen/go-httpbin/security/advisories/GHSA-528q-4pgm-wvg2
- https://github.com/advisories/GHSA-528q-4pgm-wvg2
nvd · CVE-2025-45286
- https://github.com/advisories/GHSA-528q-4pgm-wvg2
- https://github.com/mccutchen/go-httpbin/security/advisories/GHSA-528q-4pgm-wvg2
osv · GHSA-528q-4pgm-wvg2
- https://github.com/mccutchen/go-httpbin/security/advisories/GHSA-528q-4pgm-wvg2
- https://nvd.nist.gov/vuln/detail/CVE-2025-45286
- https://github.com/mccutchen/go-httpbin/commit/0decfd1a2e88d85ca6bfb8a92421653f647cbc04
- https://github.com/mccutchen/go-httpbin
- https://github.com/mccutchen/go-httpbin/releases/tag/v2.18.0
osv · GO-2025-3554
Related changes
Linked by CVE identifierNo related changes are available here.